Reputation: 31
ERROR: implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'
I am unable add firebase dependency while uisng
THIS DEPENDENCY..
implementation'com.google.firebase:firebase-database:16.0.1'
Upvotes: 3
Views: 27983
Reputation: 11
use latest version of firebase dependencies, if there are any in the project
as included below
use implement
implementation 'com.google.firebase:firebase-ads:17.1.3'
Upvotes: 1
Reputation: 2479
This is because of conflicting dependency versions. try ./gradlew app:dependencies
, you can find the culprit.
Upvotes: 2
Reputation: 96
In the dependencies change appcompact-v7:28.0.0-alpha3 to appcompact-v7:28.0.0-alpha1. Also you can use the previous version v7:27.0.1.
Upvotes: 2
Reputation: 31
Just comment out this line //noinspection GradleCompatible
it worked for me with firebase:
Upvotes: 3