gpt4 book ai didi

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

转载 作者:太空狗 更新时间:2023-10-29 15:32:01 26 4
gpt4 key购买 nike

Hai 我正在调用我的 android 应用程序中的 web 服务,我正在使用 android 版本(r-18)。但是我在 Soap serilization 中出错。我正在尝试 ksoap2 版本(2.5.4,2.4,2.6.4,2.5.8) .

错误信息;

05-07 02:20:26.920: W/dalvikvm(4852): threadid=1: thread exiting with uncaught exception (group=0x4001d888)
05-07 02:20:26.920: E/AndroidRuntime(4852): FATAL EXCEPTION: main
05-07 02:20:26.920: E/AndroidRuntime(4852): java.lang.NoClassDefFoundError: org.ksoap2.serialization.SoapSerializationEnvelope
05-07 02:20:26.920: E/AndroidRuntime(4852): at com.android.StringBuilderActivity.<init>(StringBuilderActivity.java:31)
05-07 02:20:26.920: E/AndroidRuntime(4852): at java.lang.Class.newInstanceImpl(Native Method)
05-07 02:20:26.920: E/AndroidRuntime(4852): at java.lang.Class.newInstance(Class.java:1429)
05-07 02:20:26.920: E/AndroidRuntime(4852): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
05-07 02:20:26.920: E/AndroidRuntime(4852): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2582)
05-07 02:20:26.920: E/AndroidRuntime(4852): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2684)
05-07 02:20:26.920: E/AndroidRuntime(4852): at android.app.ActivityThread.access$2300(ActivityThread.java:126)
05-07 02:20:26.920: E/AndroidRuntime(4852): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2038)
05-07 02:20:26.920: E/AndroidRuntime(4852): at android.os.Handler.dispatchMessage(Handler.java:99)
05-07 02:20:26.920: E/AndroidRuntime(4852): at android.os.Looper.loop(Looper.java:123)
05-07 02:20:26.920: E/AndroidRuntime(4852): at android.app.ActivityThread.main(ActivityThread.java:4632)
05-07 02:20:26.920: E/AndroidRuntime(4852): at java.lang.reflect.Method.invokeNative(Native Method)
05-07 02:20:26.920: E/AndroidRuntime(4852): at java.lang.reflect.Method.invoke(Method.java:521)
05-07 02:20:26.920: E/AndroidRuntime(4852): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:871)
05-07 02:20:26.920: E/AndroidRuntime(4852): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
05-07 02:20:26.920: E/AndroidRuntime(4852): at dalvik.system.NativeStart.main(Native Method)

最佳答案

将您的库文件名更改为“/libs”并检查它。

关于android - java.lang.NoClassDefFoundError : org. ksoap2.serialization.SoapSerializationEnvelope,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10477632/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com