I got error and can't complete the build. I search over Stackoverflow and Github. I have tried many ways already but I can't fix. Please help.
(1) Could not find google-services.json while looking in [src/nullnull/debug, src/debug/nullnull, src/nullnull, src/debug, src/nullnullDebug]
(2) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
When I add google-services.json to app/src/debug and app/src/release (1) will disappear. Then (2) still warning and the build still get FAIL.