Error in the build android traccar manager

jesusle7 years ago

Hi Anton Tananaev, I have an error in the build on android studio, android traccar manager, could you help me

:app:generateGoogleDebugResValues
:app:processGoogleDebugGoogleServices FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processGoogleDebugGoogleServices'.
> File google-services.json is missing. The Google Services Plugin cannot function without it. 
   Searched Location: 
  C:\Users\audi\traccar-manager-android-master\traccar-manager-android-master\app\src\google\debug\google-services.json
  C:\Users\audi\traccar-manager-android-master\traccar-manager-android-master\app\src\debug\google\google-services.json
  C:\Users\audi\traccar-manager-android-master\traccar-manager-android-master\app\src\google\google-services.json
  C:\Users\audi\traccar-manager-android-master\traccar-manager-android-master\app\src\debug\google-services.json
  C:\Users\audi\traccar-manager-android-master\traccar-manager-android-master\app\src\googleDebug\google-services.json
  C:\Users\audi\traccar-manager-android-master\traccar-manager-android-master\app\google-services.json
Anton Tananaev7 years ago

You are building wrong flavor. Build a regular one.

jitendra patil7 years ago

Where can I get regular flavor?

Anton Tananaev7 years ago

You don't need to get it. You need to select regular flavor when you build the app. If you don't know what flavor is, I would recommend to study official Android documentation.