I got this error on facebook SDK. I'm using androidx
to my support library
heres my gradle
looking into the activity itself uses supportv4 libraries whats the possible fix here?
Try this use latest dependencies
implementation 'com.facebook.android:facebook-android-sdk:4.39.0'
implementation 'com.facebook.android:facebook-share:4.39.0'
Update
AFAIK the current SDK of facebook does not support with AndroidX
You can check here
Facebook SDK for Android
Facebook SDK for Android Changelog 4.x
4.39.0 - December 5, 2018
Modified
In-app purchase auto logging is turned on by default. Android auto-logged purchases can be verified with uploaded credentials. Lean More
Fixed
Various bug fixes
i have reported a bug
here is the Latest Response from Facebook Team
Hi Nilesh,
Thanks for reaching out. I'm afraid the current SDK doesn't support AndroidX. Unfortunately I don't have a timeline on when support for the library will be released, but stay tuned to our developer channels for any announcements in the future.
Regards, Marc
I solved it by adding this two lines in gradle.properties
android.useAndroidX=true
android.enableJetifier=true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With