-
-
Notifications
You must be signed in to change notification settings - Fork 63
Compatibility Issue with Facebook SDK 4.38.0 #46
Comments
Can you take a look? Happy to accept a pull request for any updates. |
@rogerhu I poked around a bit but I couldn't get to a point where I feel confident in saying that passing in FWIW, The next most recent FB SDK version (4.37.0) still uses the old constructor, so using that version fixes this particular issue, for my purposes at least. |
@rogerhu I have the same 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) |
I have the same issue: 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 /data/app/com.adyourbooks-1/split_lib_dependencies_apk.apk) |
I am also having the same issue. java.lang.NoSuchMethodError: |
Any update on this? I am also having this issue with SDK version 4.38.1 |
still nothing ? |
As mentioned, you can downgrade to 4.37.0 until this is resolved, and feel free to make a pull request if you find a solution. |
Right I am happy to tag and release a new version once a fix is issued and verified. |
@rogerhu great! |
Is it reasonable to provide a I would volunteer to do that but I can't advocate such solution until I have understood better how |
Any update on this... With ParseFacebookUtils-Android:1.12.0 and facebook-android-sdk:4.40.0 my app crashes by simply calling loginInBackgroud with same stack trace. Unfortunately i can't use facebook-android-sdk:4.37.0 because it has a bug and its causing crashes |
It appears that FacebookController is using a constructor for
AccessToken
that no longer exists. It looks like FB wantsdataAccessExpirationTime
to be passed in now too. According to the Javadocs this new property can be set to null, however I have not looked to see what the consequences of doing that would be.NOTE: I mention 4.38.0 since that's what the project I'm currently working on uses, but I wouldn't be surprised if this is broken in older versions as well.
The text was updated successfully, but these errors were encountered: