How to inject a Maps Android v2 API Key into an application?
Asked Answered
O

1

0

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.

Owings answered 11/7, 2013 at 13:30 Comment(1)
I doubt it. Using the new Gradle-based build system, you will have better flexibility in the value you compile into the app, but I think it has to be in the <meta-data> in the manifest one way or another.Rabassa
B
0

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

Blowtorch answered 11/7, 2013 at 13:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.