引起:java.lang.NoClassDefFoundError:android Studio中的org.ksoap2.serialization.SoapSerializationEnvelope

时间:2021-12-10 15:53:39

I already added ksoap2-android-assembly-3.0.0-RC.4-jar-with-dependencies in libs folder then also i have show bellow error when i run app using android studio.

我已经在libs文件夹中添加了ksoap2-android-assembly-3.0.0-RC.4-jar-with-dependencies,然后当我使用android studio运行应用程序时,我还显示了以下错误。

Caused by: java.lang.NoClassDefFoundError: org.ksoap2.serialization.SoapSerializationEnvelope

引起:java.lang.NoClassDefFoundError:org.ksoap2.serialization.SoapSerializationEnvelope

please give me solution.

请给我解决方案。

1 个解决方案

#1


0  

Just remove the jar file and clean the project then add the library file in your libs folder and right click the jar file then click the Add as Library. finally rebuild the project and run it :-)

只需删除jar文件并清理项目,然后将库文件添加到libs文件夹中,右键单击jar文件,然后单击Add as Library。终于重建项目并运行它:-)

#1


0  

Just remove the jar file and clean the project then add the library file in your libs folder and right click the jar file then click the Add as Library. finally rebuild the project and run it :-)

只需删除jar文件并清理项目,然后将库文件添加到libs文件夹中,右键单击jar文件,然后单击Add as Library。终于重建项目并运行它:-)