7

I am working on a new app. Presently I am trying to add dependency

implementation 'com.google.firebase:firebase-ads:15.0.1'

Before insert row #38:

enter image description here

After insert row #38:

enter image description here

Any ideas how to best resolve this issue?

P.S. classpath 'com.google.gms:google-services:4.0.1'

Paraskevas Ntsounos
  • 1,755
  • 2
  • 18
  • 34
Volodymyr T
  • 102
  • 9

2 Answers2

12

One of your dependencies is internally using an older support library version. The best solution is to force it to use a newer one, just add this to dependencies:

implementation 'com.android.support:customtabs:27.1.1'
Suleyman
  • 2,765
  • 2
  • 18
  • 31
5

You should be able to resolve this by adding:

implementation 'com.android.support:customtabs:27.1.1'

You are receiving this error because the library you added has implemented an older version internally.

There is a similar discussion here

Jantzilla
  • 638
  • 1
  • 7
  • 19