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

Harshil2 months 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 Tananaev2 months ago

Build "regular" flavor, not "google".

Harshil2 months 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 Tananaev2 months ago

You are building wrong flavor.

Harshil2 months ago

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