Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google-services.json cannot be found

I have put the google service json file at android/app/src buh I get this error:

Could not find google-services.json while looking in [src/nullnull/debug, src/debug/nullnull, src/nullnull, src/debug, src/nullnullDebug]
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/release, src/release/nullnull, src/nullnull, src/release, src/nullnullRelease]
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/profile, src/profile/nullnull, src/nullnull, src/profile, src/nullnullProfile]
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)

dependencies {
    classpath 'com.android.tools.build:gradle:3.0.1'
    classpath 'com.google.gms:google-services:4.0.0'
}
like image 408
Norbert Avatar asked Aug 23 '26 00:08

Norbert


1 Answers

Place google-services.json in the android/app directory instead of android/app/src.

like image 110
chemamolins Avatar answered Aug 25 '26 15:08

chemamolins



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!