Nullpointerexcepetion Facebook Sdk V4.5.0 When Enable Proguard (when Try To Login Using Parse Library)
I'm trying to login with Facebook using ParseFacebookUtils library and it's working good but when i enabled the Proguard file i have this exception on Facebook login activity start
Solution 1:
I just added this line and it's working:
-keep classcom.facebook.** { *; }
Solution 2:
You have to add below lines into your file, That will resolve your problem.
Only need to add below lines.
-dontwarn com.facebook.**-keep class com.facebook.** { *; }-keepattributes Signature - ignore the warning, or don't warn for the package com.facebook
- keep the classes & inner classes as well inside that package.
- keep the signature of attribute.
Solution 3:
try to add
-keep class com.facebook.* -keep class com.facebook.login.*
in your proguard file
Post a Comment for "Nullpointerexcepetion Facebook Sdk V4.5.0 When Enable Proguard (when Try To Login Using Parse Library)"