Oct 18, 2023
The Android Gradle plugin usually warns you not to edit the local.properties file because its contents may be generated by the build process. But I've been editing it without any serious consequences, so I guess I can recommend adding the API key there. Just make sure to back up the file first, just in case.