问题
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
来源:https://stackoverflow.com/questions/17594737/how-to-inject-a-maps-android-v2-api-key-into-an-application