Sourav Bhatia
Sourav Bhatia

Reputation: 31

implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'

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

Answers (4)

ahmed adel
ahmed adel

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

sreekumar
sreekumar

Reputation: 2479

This is because of conflicting dependency versions. try ./gradlew app:dependencies, you can find the culprit.

Upvotes: 2

Akshay Parmar
Akshay Parmar

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

Raja Vamaraju
Raja Vamaraju

Reputation: 31

Just comment out this line //noinspection GradleCompatible

it worked for me with firebase:

Upvotes: 3

Related Questions