I am getting an error when I run a google maps app on an android for codename one. When I run it on the emulator I am getting no error. When I run it on a phone I get.
Yes. You do need to add the android.xapplication
build hint so that your API key is provided. You don't need to add the android.xpermissions
build hint. It will automatically be added by the library when you build int.
The instructions for build hints are all in the README for the GoogleMaps cn1lib.
The format for the build hint would be Name: "android.xapplication". Value: "<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="YOUR_ANDROID_API_KEY"/>
" Use the IDE's UI to place the build hints. Don't try to paste them directly into the properties file.