ErickTamayo / fuse-google-analytics

Native Google Analytics integration in Fuse.
MIT License
8 stars 3 forks source link

File google-services.json is missing. The Google Services Plugin cannot function without it. Searched Location: #7

Open ckarmy opened 7 years ago

ckarmy commented 7 years ago

I'm trying to implement analytics to my app but I get this error: (I already follow #6)

AnalyticsExample GF$ fuse build -t=android -DGRADLE -run
Uno 1.1.3 (build 5510) macOS 10.12 i386 933ea5b

Configuring (9.7 s)
Compiling syntax tree (3.8 s)
Generating code and data (26.3 s)
Building Android app
2/2: AnalyticsExample.apk

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugGoogleServices'.
> File google-services.json is missing. The Google Services Plugin cannot function without it. 
   Searched Location: 
  /Users/GF/Desktop/good-factory/AnalyticsExample/build/Android/Debug/app/src/debug/google-services.json
  /Users/GF/Desktop/good-factory/AnalyticsExample/build/Android/Debug/app/google-services.json

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
## 2/2: AnalyticsExample.apk
Incremental java compilation is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAnimatedVectorDrawable2340Library UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72340Library UP-TO-DATE
:app:prepareComAndroidSupportDesign2340Library UP-TO-DATE
:app:prepareComAndroidSupportRecyclerviewV72340Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42340Library UP-TO-DATE
:app:prepareComAndroidSupportSupportVectorDrawable2340Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAnalytics940Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAnalyticsImpl940Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesBase940Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesBasement940Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesTasks940Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseAnalytics940Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseAnalyticsImpl940Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseCommon940Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseCore940Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseIid940Library UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:processDebugGoogleServices FAILED

BUILD FAILED

Total time: 28.983 secs
(unknown): E0200: Android build failed
(31.0 s)

Build completed in 72.12 seconds
    1 error