Process: com.live.live, PID: 30455
java.lang.NoClassDefFoundError: Failed resolution of: Ljavax/xml/bind/DatatypeConverter;
at com.aliyuncs.auth.HmacSHA1Signer.signString(HmacSHA1Signer.java:22)
at com.aliyuncs.RpcAcsRequest.signRequest(RpcAcsRequest.java:158)
at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:247)
at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:180)
at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:77)
at com.aliyuncs.DefaultAcsClient.getAcsResponse(DefaultAcsClient.java:106)
at com.player.player.StsServiceSample.main(StsServiceSample.java:49)
at com.player.player.AliyunPlayerSkinActivity.requestMpsSts(AliyunPlayerSkinActivity.java:191)
at com.player.player.AliyunPlayerSkinActivity.onCreate(AliyunPlayerSkinActivity.java:166)
at android.app.Activity.performCreate(Activity.java:6845)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2700)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2808)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1541)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:165)
at android.app.ActivityThread.main(ActivityThread.java:6375)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802)
Caused by: java.lang.ClassNotFoundException: Didn't find class "javax.xml.bind.DatatypeConverter" on path: DexPathList[[zip file "/data/app/com.live.live-1/base.apk"],nativeLibraryDirectories=[/data/app/com.live.live-1/lib/arm64, /data/app/com.live.live-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:74)
at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at com.aliyuncs.auth.HmacSHA1Signer.signString(HmacSHA1Signer.java:22)
at com.aliyuncs.RpcAcsRequest.signRequest(RpcAcsRequest.java:158)
at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:247)
at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:180)
at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:77)
at com.aliyuncs.DefaultAcsClient.getAcsResponse(DefaultAcsClient.java:106)
at com.player.player.StsServiceSample.main(StsServiceSample.java:49)
at com.player.player.AliyunPlayerSkinActivity.requestMpsSts(AliyunPlayerSkinActivity.java:191)
at com.player.player.AliyunPlayerSkinActivity.onCreate(AliyunPlayerSkinActivity.java:166)
at android.app.Activity.performCreate(Activity.java:6845)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2700)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2808)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1541)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:165)
at android.app.ActivityThread.main(ActivityThread.java:6375)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802)
我请求的参数应该没问题 不知道为什么就是发不通
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。