How to inject a Maps Android v2 API Key into an ap

2019-08-17 00:09发布

问题:

It seems that is not possible to set an API v2 key programatically, so is there any other method to set this value after build.

回答1:

i think its not possible because, During the build process, your Android projects are compiled and packaged into an .apk file, so you can't change it after build !

official documentation: http://developer.android.com/tools/building/index.html