Unable to resolve dependency Android Studio 3.0

After some research I have solved this issue.

Step 1-:

I disable the Gradle offline work in settings.

File > Settings > Build, Execution, Deployment > Gradle > Uncheck Offline Work

enter image description here

Step 2-:

Then, I just changed compile 'com.facebook.android:account-kit-sdk:4.+' to api 'com.facebook.android:account-kit-sdk:4.+'

I don’t know exactly why it’s work. I see api in docs Reference

Now it works 🙂

EDIT –

Now, I am able to use both api or implementation and everything works fine.

Thanks,

Leave a Comment