我正在开发使用Parse SDK的应用程序。它在一年前工作,但现在它不工作和崩溃。 另外我在Android Studio 2.2.3上进行调试,我可以调试应用程序,但是当我生成apk文件并将它安装到手机上时,应用程序崩溃了。 当我在android studio 2.3.3上调试时,它崩溃了,无法调试它。解析Android SDK问题
这里是崩溃
FATAL EXCEPTION: main Process: com.steaklocker.steaklocker, PID: 2308 java.lang.IllegalAccessError: Method 'void bolts.Task.()' is inaccessible to class 'bolts.TaskCompletionSource' (declaration of 'bolts.TaskCompletionSource' appears in /data/app/com.steaklocker.steaklocker-1/base.apk:classes10.dex) at bolts.TaskCompletionSource.(TaskCompletionSource.java:18) at com.parse.ParseTaskUtils.callbackOnMainThreadAsync(ParseTaskUtils.java:100) at com.parse.ParseTaskUtils.callbackOnMainThreadAsync(ParseTaskUtils.java:72) at com.parse.ParseTaskUtils.callbackOnMainThreadAsync(ParseTaskUtils.java:59) at com.parse.ParsePush.subscribeInBackground(ParsePush.java:264) at com.xxx.xxx.xxxApplication.onCreate(SteaklockerApplication.java:65) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4553) at android.app.ActivityThread.access$1500(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) 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:903) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
的日志下面是等级关系的信息。
compileSdkVersion = 22
buildToolsVersion = "23.0.2"
minSdkVersion = 21
targetSdkVersion = 23
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.parse.bolts:bolts-tasks:1.3.0'
compile 'com.parse:parse-android:1.13.1'
compile 'com.parse:parseui-widget-android:0.0.1'
compile 'com.parse:parsefacebookutils-v4-android:[email protected]'
2017-08-14
Kevin
+0
目前的版本是com.parse:语法分析的android:1.15.8,你可以尝试用它? –