How do i keep different configurations for my android app with GCM 3.0
问题 I want to keep different configurations for my debug/release build variants but apparently, the google-services.json file only allows for one. Is there any alternative? Is there a way to keep several files? 回答1: I'm using this workaround to solve a similar issue with build flavours. The flavour specific google-service.json files are stored under /app/src/{flavour-name}/google-service.json . To copy this to the /app dir the following code may be added to the /app/build.gradle file: gradle