E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.izhaowo.user, PID: 25163
java.lang.ExceptionInInitializerError
at com.alibaba.sdk.android.ams.common.spi.ServiceFactoryFactory.getFactory(Unknown Source)
at com.alibaba.sdk.android.ams.common.securitybox.SecurityBoxServiceFactory.getSecurityBoxService(Unknown Source)
at com.alibaba.sdk.android.push.noonesdk.PushServiceFactory.init(Unknown Source)
at com.izhaowo.user.App.initCloudChannel(App.java:85)
at com.izhaowo.user.App.onCreate(App.java:49)
at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:326)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4604)
at android.app.ActivityThread.access$1500(ActivityThread.java:159)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1380)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5313)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1116)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:809)
Caused by: java.lang.IllegalStateException: Fail to load ams-spi-services for com.alibaba.sdk.android.ams.common.spi.FactoryProvider
at com.alibaba.sdk.android.ams.common.spi.ServiceLoaderUtils.getServices(Unknown Source)
at com.alibaba.sdk.android.ams.common.spi.LazyLoadProviderHolder.<clinit>(Unknown Source)
at com.alibaba.sdk.android.ams.common.spi.ServiceFactoryFactory.getFactory(Unknown Source)
at com.alibaba.sdk.android.ams.common.securitybox.SecurityBoxServiceFactory.getSecurityBoxService(Unknown Source)
at com.alibaba.sdk.android.push.noonesdk.PushServiceFactory.init(Unknown Source)
at com.izhaowo.user.App.initCloudChannel(App.java:85)
at com.izhaowo.user.App.onCreate(App.java:49)
at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:326)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4604)
at android.app.ActivityThread.access$1500(ActivityThread.java:159)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1380)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5313)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1116)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:809)
Caused by: java.io.FileNotFoundException: ams-spi-services/com.alibaba.sdk.android.ams.common.spi.FactoryProvider
at android.content.res.AssetManager.openAsset(Native Method)
at android.content.res.AssetManager.open(AssetManager.java:555)
at android.content.res.AssetManager.open(AssetManager.java:529)
at com.alibaba.sdk.android.ams.common.spi.ServiceLoaderUtils.getServices(Unknown Source)
at com.alibaba.sdk.android.ams.common.spi.LazyLoadProviderHolder.<clinit>(Unknown Source)
at com.alibaba.sdk.android.ams.common.spi.ServiceFactoryFactory.getFactory(Unknown Source)
at com.alibaba.sdk.android.ams.common.securitybox.SecurityBoxServiceFactory.getSecurityBoxService(Unknown Source)
at com.alibaba.sdk.android.push.noonesdk.PushServiceFactory.init(Unknown Source)
at com.izhaowo.user.App.initCloudChannel(App.java:85)
at com.izhaowo.user.App.onCreate(App.java:49)
at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:326)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4604)
at android.app.ActivityThread.access$1500(ActivityThread.java:159)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1380)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5313)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1116)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:809)
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。