java.lang.noclassdeffounderror: org.ksoap2.serialization.SoapObject

后端 未结 3 1833
隐瞒了意图╮
隐瞒了意图╮ 2020-11-29 12:10

I got this no class def error: org.ksoap2.serialization.SoapObject error ever since I have updated Eclipse ADT Plug in and SDK Manager. I was using ksoap2

相关标签:
3条回答
  • 2020-11-29 12:44

    Go to Properties -> Java Build Path

    Add ksoap2-android-assembly-2.6.2-jar-with-dependencies.jar as external jar

    Go to the Order and Export tab on the same popup window

    Check the box against the newly added jar

    (see: NoClassDefFoundError - Eclipse and Android)

    0 讨论(0)
  • 2020-11-29 12:44

    What I did:

    1. Download ksoap2-android-assembly-2.6.5-jar-with-dependencies, if you see it comes with zip extension. Change it to jar extension.
    2. Copy the jar file to libs folder on your project.
    3. Rebuild your project.
    0 讨论(0)
  • 2020-11-29 12:55

    Turns out external jars such as

    ksoap2-android-assembly-2.6.2-jar-with-dependencies.jar

    to be put under /libs folder so Eclipse ADT automatically adds your jars to the buildpath of your application. It was a buildpath missing defined class error after all.. I hope this will help you, too!

    Mustafa

    0 讨论(0)
提交回复
热议问题