关于unable to find class referenced in signature (Lorg/ksoap2/serialization/SoapObject;)的错误

时间:2022-10-24 05:33:15

在调试天气预报的例子时同样也碰到了这个错误:

08-11 13:11:00.583: W/dalvikvm(360): VFY: unable to find class referenced in signature (Lorg/ksoap2/serialization/SoapObject;)
08-11 13:11:00.583: I/dalvikvm(360): Could not find method org.ksoap2.serialization.SoapObject.getProperty, referenced from method daniel.weather.MainActivity.parseWeather


解决方法:

除了像下图在Libraries中添加上jar包以外


 关于unable to find class referenced in signature (Lorg/ksoap2/serialization/SoapObject;)的错误


还需要在Order and Export中把ksoap打上勾


关于unable to find class referenced in signature (Lorg/ksoap2/serialization/SoapObject;)的错误