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

半世苍凉 提交于 2019-11-28 14:14:59
Krishna Prasad

Change your library file names to "/libs" and check it.

Starting with ADT version 17 I believe, Android dependencies are automatically gathered from the libs folder in the root of your project. Try moving your SOAP library to that folder and cleaning your project.

I have encountered the same issue .... go to Build Path >> Configure Build Path >> Order and export >> Select KSOAP2 lib . (I am assuming that u have add KSOAP2 Jar)

it seems like you forgot to add the external JAR file.

try right clicking you project folder, going to build path and adding the JAR file to the project.

chavanNil

Create a directory named libs in your project

Now copy & paste your .jar file into libs directory.

Right click on project build path to add library

select from libs directory & ok

Run -> Success Enjoy

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!