我得到这个没有类def错误:org.ksoap2.serialization.SoapObject错误,因为我更新了
Eclipse ADT插件和SDK管理器.我正在使用ksoap2-android-assembly-2.4-jar-with-dependencies.jar作为KSOAP的外部库.我以为可能会被弃用,所以我也从这里添加了2.6.2版本:
http://code.google.com/p/ksoap2-android/source/browse/m2-repo/com/google/code/ksoap2-android/ksoap2-android-assembly/2.6.2/ksoap2-android-assembly-2.6.2-jar-with-dependencies.jar
请帮忙.
码:
SoapServis servis = new SoapServis(SoapServis.KULLANICI_KONTROL);
其中构造函数是:
public SoapServis(String metodAdi) { this.METHOD_NAME = metodAdi; this.Request = new SoapObject(NAMESPACE,METHOD_NAME); }