- Make sure your builddirectory is gitignored. It should be, by default, in a new Android Studio project -- you can double check by making sure that your.gitignorefile contains the line:
/build
- In your project root directory, add the API key to local.propertiesfile like this: