我正在開發使用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]'
目前的版本是com.parse:語法分析的android:1.15.8,你可以嘗試用它? –