I've been trying to get apps like this to work and as I run them everything will work except google maps. I've copied my API key into them but still to no avail. Is there anything else I'm missing out on?
Error I get when try to run them:
<terminated>CustomMarker [Android Application]
<disconnected>DalvikVM[localhost:8607]
<disconnected>DalvikVM[localhost:8607]
Any help is appreciated.
PS I am running them on an android phone, not emulator and I suspect it could be a problem with the phone?
edit: more details
[2014-05-12 16:31:57 - CustomMarker] ------------------------------
[2014-05-12 16:31:57 - CustomMarker] Android Launch!
[2014-05-12 16:31:57 - CustomMarker] adb is running normally.
[2014-05-12 16:31:57 - CustomMarker] Performing com.nasc.sample.custommarker.CustomMapMarker activity launch
[2014-05-12 16:31:57 - CustomMarker] Failed to find an AVD compatible with target 'Android 4.2.2'.
[2014-05-12 16:31:58 - CustomMarker] Performing com.nasc.sample.custommarker.CustomMapMarker activity launch
[2014-05-12 16:33:12 - CustomMarker] Uploading CustomMarker.apk onto device '4df190e00d8b5f4d'
[2014-05-12 16:33:12 - CustomMarker] Installing CustomMarker.apk...
[2014-05-12 16:33:21 - CustomMarker] Success!
[2014-05-12 16:33:21 - CustomMarker] Starting activity com.nasc.sample.custommarker.CustomMapMarker on device 4df190e00d8b5f4d
[2014-05-12 16:33:22 - CustomMarker] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.nasc.sample.custommarker/.CustomMapMarker }
[2014-05-12 16:33:23 - CustomMarker] Attempting to connect debugger to 'com.nasc.sample.custommarker' on port 8607
more details:
Description Resource Path Location Type
Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the android.os.Build.VERSION_CODES javadoc for details. AndroidManifest.xml /CustomMarker line 7 Android Lint Problem
The method removeGlobalOnLayoutListener(ViewTreeObserver.OnGlobalLayoutListener) from the type ViewTreeObserver is deprecated CustomMapMarker.java /CustomMarker/src/com/nasc/sample/custommarker line 76 Java Problem
The value of the field CustomMapMarker.customMarker is not used CustomMapMarker.java /CustomMarker/src/com/nasc/sample/custommarker line 29 Java Problem