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