-5

enter image description here

Failed to resolve:com.google.firebase:firebase-core:16.0.0

There occurs an error in: compile 'com.android.support:appcompat-v7:25.3.1' which is creating difficulty in running the project.

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
Xyz
  • 1
  • 1

2 Answers2

0

just rename google-services(1).json to google-services.json..may be it will work.

Abhra
  • 94
  • 3
  • 7
0

this solution may help you. Check this out.

open your build:gradle(project file) and check if there is google play service classpath and google() repo is added or not.

Sayem
  • 78
  • 1
  • 10
  • If you are talking about "apply plugin: 'com.google.gms.google-services' ",then it's already added at the bottom of the app/build(gradle) and in project/build.gradle also. – Xyz Jun 18 '18 at 18:42
  • did you add this google maven repo? `allprojects { repositories { jcenter() maven { url 'https://maven.google.com/' name 'Google' } } }` in your project/build.gradle – Sayem Jun 18 '18 at 19:43