[mono-android] Maps API key issue

Jonathan Pobst monkey at jpobst.com
Mon Mar 21 17:35:24 EDT 2011


I don't know if the keystore is your issue, but here's how to play with 
the settings:

http://mono-android.net/Documentation/Build_Process

See "Signing" at the bottom.

Jonathan


On 3/21/2011 4:27 PM, Brian Long wrote:
> 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
>
>
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid



More information about the Monodroid mailing list