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,713
  • 2
  • 15
  • 32
Volodymyr T
  • 102
  • 8

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,525
  • 2
  • 16
  • 30
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
  • 608
  • 1
  • 7
  • 19