我正试图用backendless第一次运行我的应用程序.我收到这个错误:
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/backendless/backendlessCollection; at com.backendless.Persistence.<init>(Persistence.java:72) at com.backendless.Persistence.<clinit>(Persistence.java:62) at com.backendless.Persistence.getInstance(Persistence.java:66) at com.backendless.backendless.<clinit>(backendless.java:43) at com.asd.asd.androID.AndroIDLauncher.onCreate(AndroIDLauncher.java:89) at androID.app.Activity.performCreate(Activity.java:6289) at androID.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119) at androID.app.ActivityThread.performlaunchActivity(ActivityThread.java:2646) at androID.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758) at androID.app.ActivityThread.access0(ActivityThread.java:177) at androID.app.ActivityThread$H.handleMessage(ActivityThread.java:1448) at androID.os.Handler.dispatchMessage(Handler.java:102) at androID.os.Looper.loop(Looper.java:145) at androID.app.ActivityThread.main(ActivityThread.java:5942) 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:1400) at com.androID.internal.os.ZygoteInit.main(ZygoteInit.java:1195)Caused by: java.lang.classNotFoundException: DIDn't find class "com.backendless.backendlessCollection" on path: DexPathList[[zip file "/data/app/com.asd.asd.androID-1/base.apk"],nativelibraryDirectorIEs=[/data/app/com.asd.asd.androID-1/lib/arm, /vendor/lib, /system/lib]]
由于我甚至不使用backendlessCollection类,因此堆栈跟踪无法解释可能出错的问题.
错误点在:
backendless.initApp(this,app_ID,androID_ID, version_ID);
解决方法:
这是backendless中的一个已知问题,它已在新版SDK中得到修复.这里是maven central http://mvnrepository.com/artifact/com.backendless/backendless/3.0.8.1的链接
总结以上是内存溢出为你收集整理的android – 第一次启动Backendless时出现奇怪的错误全部内容,希望文章能够帮你解决android – 第一次启动Backendless时出现奇怪的错误所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)