[mono-android] Maps API key issue
Brian Long
brian at blong.com
Mon Mar 21 17:27:59 EDT 2011
Hello all
I'm failing to get a MapView example up and running
I've read the README in
https://github.com/mono/monodroid-samples/tree/master/GoogleMaps and have a
general understanding of the requirement
The symptom is that the MapView shows no tiles - just an empty grid
Wisdom suggests I haven't generated my API key successfully, and I'm sure
that's right
Various posts online suggest I should generate the key from what appears to
be a single original debug.keystore in %USERPROFILE%\Local
Settings\Application Data\Android\debug.keystore (or some equivalent in
Windows 7), though I can;t actually find this
However I notice that each of my projects has a debug.keystore in obj\Debug.
Furthermore, it _seems_ that msbuild is generating this afresh each time I
build, using a cmdline of:
"C:\Program Files\Java\jdk1.6.0_23\bin\keytool.exe" -genkeypair -alias
"androiddebugkey" -dname "CN=Android Debug,O=Android,C=US" -storepass
"android" -keypass "android" -keystore "obj\Debug\debug.keystore"
Moreover, it _appears_ that each time I get a new one generated, I get a
different fingerprint. Consequently this yields a different API key, and by
the time I insert the key and run the app, the fingerprint has changed
meaning the key is wrong....
Presumably there is some way of making the project reference a singular
pre-built keystore, especially given one needs to make a new one with
keytool for non-debug deployments, but I cannot fathom how just yet
Anyway, you can see I'm floundering. I'm hoping I've given enough info for
it to be obvious for those who've been down this road to know what is going
on and what obvious step I've missed
Thanks for any help
- Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/mailman/private/monodroid/attachments/20110321/b0c5bb97/attachment-0001.html
More information about the Monodroid
mailing list