parse-community / ParseFacebookUtils-Android

A utility library to authenticate ParseUsers with the Facebook SDK
http://docs.parseplatform.org/android/guide/#facebook-users
Other
53 stars 63 forks source link

FacebookController.java line 163 crash #45

Closed alxmllr closed 6 years ago

alxmllr commented 6 years ago

Hi.

Since our last app release we are getting an error (see stack below) whenever our users udpate the app. The package version si 1.12.0.

Is anyone else having this issue?

Fatal Exception: java.lang.NoSuchMethodError: No direct method (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Lcom/facebook/AccessTokenSource;Ljava/util/Date;Ljava/util/Date;)V in class Lcom/facebook/AccessToken; or its super classes (declaration of 'com.facebook.AccessToken' appears in base.apk) at com.parse.FacebookController.setAuthData(FacebookController.java:163) at com.parse.ParseFacebookUtils$1.onRestore(ParseFacebookUtils.java:113) at com.parse.ParseAuthenticationManager$2.call(ParseAuthenticationManager.java:70) at com.parse.ParseAuthenticationManager$2.call(ParseAuthenticationManager.java:67) at bolts.Task$4.run(Task.java:357) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at java.lang.Thread.run(Thread.java:764)

LOG-TAG commented 6 years ago

@alxmllr how do you solved it? got an error after updating latest AS ? gradle plugin?

downgraded fb depedency ?

implementation ('com.facebook.android:facebook-android-sdk:4.38.0'){
        exclude module: 'bolts-android'
    }

to

implementation ('com.facebook.android:facebook-android-sdk:4.10.0'){
        exclude module: 'bolts-android'
    }

??