Taccar client build Error.. Google-Services.json is missing

Harshil5 years ago

Hello.
Open traccar client in Android Studio, gradle build error:

File google-services.json is missing. The Google Services Plugin cannot function without it. 
 Searched Location: 
F:\Android Apps\Traccar\traccar-client-android-master\app\src\google\google-services.json
F:\Android Apps\Traccar\traccar-client-android-master\app\src\debug\google-services.json
F:\Android Apps\Traccar\traccar-client-android-master\app\src\googleDebug\google-services.json
F:\Android Apps\Traccar\traccar-client-android-master\app\src\google\debug\google-services.json
F:\Android Apps\Traccar\traccar-client-android-master\app\src\debug\google\google-services.json
F:\Android Apps\Traccar\traccar-client-android-master\app\google-services.json

Please advice. Thanks

Anton Tananaev5 years ago

Build "regular" flavor, not "google".

Harshil5 years ago

Same error is coming.

File google-services.json is missing. The Google Services Plugin cannot function without it. 
 Searched Location: 
F:\Android Apps\Traccar\traccar-client-android-master\app\src\google\google-services.json
F:\Android Apps\Traccar\traccar-client-android-master\app\src\debug\google-services.json
F:\Android Apps\Traccar\traccar-client-android-master\app\src\googleDebug\google-services.json
F:\Android Apps\Traccar\traccar-client-android-master\app\src\google\debug\google-services.json
F:\Android Apps\Traccar\traccar-client-android-master\app\src\debug\google\google-services.json
F:\Android Apps\Traccar\traccar-client-android-master\app\google-services.json

Please provide me proper guidance. Thanks

Anton Tananaev5 years ago

You are building wrong flavor.

Harshil5 years ago

OK I have got it. Thank you for your response.