[codenameone-discussions] Re: native maps defaulting to openstreet on android, crashing on ios
1. You can use include source and look at the code we generate. 2. I'm guessing you got stuff from the codenameone_settings.properties. Notice that the "android.xapplication" entry doesn't have the proper prefix. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/26d64338-57f0-4090-a92e-611f43834b90%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: native maps defaulting to openstreet on android, crashing on ios
The error I am getting is: 09-16 07:17:24.657: I/Google Maps Android API(30787): Google Play services client version: 6587000 09-16 07:17:24.660: I/Google Maps Android API(30787): Google Play services package version: 9452236 09-16 07:17:24.664: I/System.out(30787): Failed to initialize, google play services not installed: java.lang.RuntimeException: API key not found. Check that is in the element of AndroidManifest. xml 09-16 07:17:24.664: W/System.err(30787): java.lang.RuntimeException: API key not found. Check that is in the element of AndroidManifest.xml 09-16 07:17:24.664: W/System.err(30787): at maps.y.k.a(Unknown Source) ... However I have the application key set in the properties. codename1.arg.android.xpermissions= android.xapplication= 1. How can I see the build log to make sure you are setting it correctly? 2. Why is it not working? 3. according to this error, your blog / instructions are out of date. It is no longer com.google.android.maps.v2.API_KEY -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/c8a1e498-669c-48bd-8273-d466172175b7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: native maps defaulting to openstreet on android, crashing on ios
It fallsback to OSM in case of an error loading the map. Check your keys, SHA1 etc. If you connect the device to DDMS you can see Googles error message printed. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/9cee0cfb-2473-4c70-94c4-da1c668423c5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.