Google Map not working on SDK 2.1

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

Google Map not working on SDK 2.1

Postby anandmehrotra420 » Tue Jul 27, 2010 2:26 am

Hi,
I have written a simple Android App to display a google map.This app will be modified to support POIs.When I try to run it on emulator 2.1.It fails.I have set all the required permissions and have obtained a debug key from Google. I have attached my code below as a zip file. However my eclipse console gives the following warning.I'm using Macintosh OS X Leopard.
[2010-07-26 20:19:18 - Emulator] 2010-07-26 20:19:18.239 emulator[3557:10b] Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz.


Please advise.Greatly appreciated

Thanks,
Anand
Attachments
tempApp.zip
(45.69 KiB) Downloaded 58 times
anandmehrotra420
Junior Developer
Junior Developer
 
Posts: 10
Joined: Tue Jul 27, 2010 2:18 am

Top

Re: Google Map not working on SDK 2.1

Postby blundell » Tue Jul 27, 2010 8:22 am

You can ignore that warning.
Not an actual bug. The emulator will be updated in the future if that becomes an issue.
QuickDraw

Look further down your logcat do you get any other error's with code lines and your package name for example; com.adandmehrotra.gmaps Error line 1
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: Google Map not working on SDK 2.1

Postby anandmehrotra420 » Tue Jul 27, 2010 2:19 pm

Blundell,
Thanks for replying. Here is my logcat when switched to DDMS mode.However I think this shouldn't effect the launch.Please advise.
07-27 13:15:31.070: ERROR/vold(27): Error opening switch name path '/sys/class/switch/test' (No such file or directory)
07-27 13:15:31.070: ERROR/vold(27): Error bootstrapping switch '/sys/class/switch/test' (No such file or directory)
07-27 13:15:31.070: ERROR/vold(27): Error opening switch name path '/sys/class/switch/test2' (No such file or directory)
07-27 13:15:31.070: ERROR/vold(27): Error bootstrapping switch '/sys/class/switch/test2' (No such file or directory)
07-27 13:16:26.149: ERROR/BatteryService(63): usbOnlinePath not found
07-27 13:16:26.149: ERROR/BatteryService(63): batteryVoltagePath not found
07-27 13:16:26.149: ERROR/BatteryService(63): batteryTemperaturePath not found
07-27 13:16:26.180: ERROR/SurfaceFlinger(63): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
07-27 13:17:08.899: ERROR/EventHub(63): could not get driver version for /dev/input/mouse0, Not a typewriter
07-27 13:17:08.899: ERROR/EventHub(63): could not get driver version for /dev/input/mice, Not a typewriter
07-27 13:17:09.120: ERROR/System(63): Failure starting core service
07-27 13:17:09.120: ERROR/System(63): java.lang.SecurityException
07-27 13:17:09.120: ERROR/System(63): at android.os.BinderProxy.transact(Native Method)
07-27 13:17:09.120: ERROR/System(63): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
07-27 13:17:09.120: ERROR/System(63): at android.os.ServiceManager.addService(ServiceManager.java:72)
07-27 13:17:09.120: ERROR/System(63): at com.android.server.ServerThread.run(SystemServer.java:176)
07-27 13:17:09.139: ERROR/AndroidRuntime(63): Crash logging skipped, no checkin service
07-27 13:17:43.330: ERROR/AndroidRuntime(169): ERROR: thread attach failed
07-27 13:17:51.509: ERROR/AndroidRuntime(203): ERROR: thread attach failed
Thanks,
Anand
anandmehrotra420
Junior Developer
Junior Developer
 
Posts: 10
Joined: Tue Jul 27, 2010 2:18 am

Re: Google Map not working on SDK 2.1

Postby blundell » Tue Jul 27, 2010 2:39 pm

Yeah it shoudln't. Do you not get any other error's? Hate trying to diagnose this type of problem :-(
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: Google Map not working on SDK 2.1

Postby anandmehrotra420 » Tue Jul 27, 2010 3:08 pm

No, this is it. It is the logcat.However when I insert breakpoints and try to switch to debug mode eclipse stops to respond.I have attached my code. Please advise.
Thanks,
Anand
Attachments
test.zip
(41.1 KiB) Downloaded 50 times
anandmehrotra420
Junior Developer
Junior Developer
 
Posts: 10
Joined: Tue Jul 27, 2010 2:18 am

Re: Google Map not working on SDK 2.1

Postby blundell » Tue Jul 27, 2010 3:29 pm

have you tried creating a new emulator? What sdk version do you use for it?
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Top

Re: Google Map not working on SDK 2.1

Postby anandmehrotra420 » Tue Jul 27, 2010 4:11 pm

I'm sorry for leaving that out. Yes I have tried creating a new emulator and I also tried wipe user data and I'm targeting API Level 7 i.e. Android SDK 2.1. Thanks much for helping me.
anandmehrotra420
Junior Developer
Junior Developer
 
Posts: 10
Joined: Tue Jul 27, 2010 2:18 am

Re: Google Map not working on SDK 2.1

Postby anandmehrotra420 » Tue Jul 27, 2010 11:34 pm

FYI:
I'm using the debug key for the MAP API and then pressing F11 to deploy on the emulator.I hope my approach is correct.Here is what I'm getting now on Android console:
[2010-07-27 16:29:58 - MapsDemo] ------------------------------
[2010-07-27 16:29:58 - MapsDemo] Android Launch!
[2010-07-27 16:29:58 - MapsDemo] adb is running normally.
[2010-07-27 16:29:58 - MapsDemo] Performing com.example.android.apis.MapsDemo activity launch
[2010-07-27 16:29:58 - MapsDemo] Automatic Target Mode: launching new emulator with compatible AVD 'test'
[2010-07-27 16:29:58 - MapsDemo] Launching a new emulator with Virtual Device 'test'
[2010-07-27 16:30:07 - MapsDemo] New emulator found: emulator-5554
[2010-07-27 16:30:07 - MapsDemo] Waiting for HOME ('android.process.acore') to be launched...
[2010-07-27 16:30:56 - MapsDemo] WARNING: Application does not specify an API level requirement!
[2010-07-27 16:30:56 - MapsDemo] Device API version is 7 (Android 2.1)
[2010-07-27 16:30:56 - MapsDemo] HOME is up on device 'emulator-5554'
[2010-07-27 16:30:56 - MapsDemo] Uploading MapsDemo.apk onto device 'emulator-5554'
[2010-07-27 16:30:56 - MapsDemo] Installing MapsDemo.apk...
[2010-07-27 16:31:08 - MapsDemo] Success!
[2010-07-27 16:31:09 - MapsDemo] Starting activity com.example.android.apis.MapsDemo on device
[2010-07-27 16:31:17 - MapsDemo] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.android.google.apis/com.example.android.apis.MapsDemo }
[2010-07-27 16:32:51 - Emulator] emulator: emulator window was out of view and was recentred
[2010-07-27 16:32:51 - Emulator]
[2010-07-27 16:32:58 - MapsDemo] ------------------------------
[2010-07-27 16:32:58 - MapsDemo] Android Launch!
[2010-07-27 16:32:58 - MapsDemo] adb is running normally.
[2010-07-27 16:32:58 - MapsDemo] Performing com.example.android.apis.MapsDemo activity launch
[2010-07-27 16:32:58 - MapsDemo] Automatic Target Mode: launching new emulator with compatible AVD 'test'
[2010-07-27 16:32:58 - MapsDemo] Launching a new emulator with Virtual Device 'test'
[2010-07-27 16:33:02 - MapsDemo] New emulator found: emulator-5554
[2010-07-27 16:33:02 - MapsDemo] Waiting for HOME ('android.process.acore') to be launched...
[2010-07-27 16:33:33 - MapsDemo] WARNING: Application does not specify an API level requirement!
[2010-07-27 16:33:33 - MapsDemo] Device API version is 7 (Android 2.1)
[2010-07-27 16:33:33 - MapsDemo] HOME is up on device 'emulator-5554'
[2010-07-27 16:33:33 - MapsDemo] Uploading MapsDemo.apk onto device 'emulator-5554'
[2010-07-27 16:33:34 - MapsDemo] Installing MapsDemo.apk...
[2010-07-27 16:33:54 - MapsDemo] Success!
[2010-07-27 16:33:54 - MapsDemo] Starting activity com.example.android.apis.MapsDemo on device
[2010-07-27 16:34:03 - MapsDemo] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.android.google.apis/com.example.android.apis.MapsDemo }
[2010-07-27 16:38:41 - MapsDemo] ------------------------------
[2010-07-27 16:38:41 - MapsDemo] Android Launch!
[2010-07-27 16:38:41 - MapsDemo] adb is running normally.
[2010-07-27 16:38:41 - MapsDemo] Performing com.example.android.apis.MapsDemo activity launch
[2010-07-27 16:38:41 - MapsDemo] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'test'
[2010-07-27 16:38:41 - MapsDemo] WARNING: Application does not specify an API level requirement!
[2010-07-27 16:38:41 - MapsDemo] Device API version is 7 (Android 2.1)
[2010-07-27 16:38:43 - MapsDemo] Application already deployed. No need to reinstall.
[2010-07-27 16:38:43 - MapsDemo] Starting activity com.example.android.apis.MapsDemo on device
[2010-07-27 16:38:45 - MapsDemo] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.android.google.apis/com.example.android.apis.MapsDemo }
[2010-07-27 16:38:46 - MapsDemo] Attempting to connect debugger to 'com.example.android.google.apis' on port 8619
[2010-07-27 16:42:48 - Emulator] emulator: emulator window was out of view and was recentred
[2010-07-27 16:42:48 - Emulator]
[2010-07-27 16:49:31 - SDK Manager] Deleting file C:\Documents and Settings\amehrotra\.android\avd\test.ini
[2010-07-27 16:49:31 - SDK Manager] Deleting folder C:\Documents and Settings\amehrotra\.android\avd\test.avd
[2010-07-27 16:49:31 - SDK Manager] AVD 'test' deleted.
[2010-07-27 16:50:55 - SDK Manager] Created AVD 'my_avd' based on Google APIs (Google Inc.),
[2010-07-27 16:50:55 - SDK Manager] with the following hardware config:
[2010-07-27 16:50:55 - SDK Manager] hw.gps=yes
[2010-07-27 16:50:55 - SDK Manager] hw.lcd.density=160
[2010-07-27 16:55:57 - HelloGoogleMaps] ------------------------------
[2010-07-27 16:55:57 - HelloGoogleMaps] Android Launch!
[2010-07-27 16:55:57 - HelloGoogleMaps] adb is running normally.
[2010-07-27 16:55:57 - HelloGoogleMaps] Performing com.test.GoogleMaps.HelloGoogleMaps activity launch
[2010-07-27 16:55:57 - HelloGoogleMaps] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'my_avd'
[2010-07-27 16:55:57 - HelloGoogleMaps] WARNING: Application does not specify an API level requirement!
[2010-07-27 16:55:57 - HelloGoogleMaps] Device API version is 8 (Android 2.2)
[2010-07-27 16:55:57 - HelloGoogleMaps] Uploading HelloGoogleMaps.apk onto device 'emulator-5554'
[2010-07-27 16:55:57 - HelloGoogleMaps] Installing HelloGoogleMaps.apk...
[2010-07-27 16:56:04 - HelloGoogleMaps] Success!
[2010-07-27 16:56:05 - HelloGoogleMaps] Starting activity com.test.GoogleMaps.HelloGoogleMaps on device
[2010-07-27 16:56:07 - HelloGoogleMaps] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.test.GoogleMaps/.HelloGoogleMaps }
[2010-07-27 16:56:09 - HelloGoogleMaps] Attempting to connect debugger to 'com.test.GoogleMaps' on port 8623
[2010-07-27 17:03:01 - HelloGoogleMaps] ------------------------------
[2010-07-27 17:03:01 - HelloGoogleMaps] Android Launch!
[2010-07-27 17:03:01 - HelloGoogleMaps] adb is running normally.
[2010-07-27 17:03:01 - HelloGoogleMaps] Performing com.test.GoogleMaps.HelloGoogleMaps activity launch
[2010-07-27 17:03:01 - HelloGoogleMaps] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'my_avd'
[2010-07-27 17:03:01 - HelloGoogleMaps] WARNING: Application does not specify an API level requirement!
[2010-07-27 17:03:01 - HelloGoogleMaps] Device API version is 8 (Android 2.2)
[2010-07-27 17:03:01 - HelloGoogleMaps] Uploading HelloGoogleMaps.apk onto device 'emulator-5554'
[2010-07-27 17:03:01 - HelloGoogleMaps] Installing HelloGoogleMaps.apk...
[2010-07-27 17:03:08 - HelloGoogleMaps] Success!
[2010-07-27 17:03:08 - HelloGoogleMaps] Starting activity com.test.GoogleMaps.HelloGoogleMaps on device
[2010-07-27 17:03:11 - HelloGoogleMaps] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.test.GoogleMaps/.HelloGoogleMaps }
[2010-07-27 17:03:12 - HelloGoogleMaps] Attempting to connect debugger to 'com.test.GoogleMaps' on port 8604
[2010-07-27 17:09:47 - HelloGoogleMaps] ------------------------------
[2010-07-27 17:09:47 - HelloGoogleMaps] Android Launch!
[2010-07-27 17:09:47 - HelloGoogleMaps] adb is running normally.
[2010-07-27 17:09:47 - HelloGoogleMaps] Performing com.test.GoogleMaps.HelloGoogleMaps activity launch
[2010-07-27 17:09:47 - HelloGoogleMaps] Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
[2010-07-27 17:09:47 - HelloGoogleMaps] Launching a new emulator with Virtual Device 'my_avd'
[2010-07-27 17:09:51 - HelloGoogleMaps] New emulator found: emulator-5554
[2010-07-27 17:09:51 - HelloGoogleMaps] Waiting for HOME ('android.process.acore') to be launched...
[2010-07-27 17:10:22 - HelloGoogleMaps] WARNING: Application does not specify an API level requirement!
[2010-07-27 17:10:22 - HelloGoogleMaps] Device API version is 8 (Android 2.2)
[2010-07-27 17:10:22 - HelloGoogleMaps] HOME is up on device 'emulator-5554'
[2010-07-27 17:10:22 - HelloGoogleMaps] Uploading HelloGoogleMaps.apk onto device 'emulator-5554'
[2010-07-27 17:10:22 - HelloGoogleMaps] Installing HelloGoogleMaps.apk...
[2010-07-27 17:11:01 - HelloGoogleMaps] Success!
[2010-07-27 17:11:01 - HelloGoogleMaps] Starting activity com.test.GoogleMaps.HelloGoogleMaps on device
[2010-07-27 17:11:05 - HelloGoogleMaps] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.test.GoogleMaps/.HelloGoogleMaps }
[2010-07-27 17:11:07 - HelloGoogleMaps] Attempting to connect debugger to 'com.test.GoogleMaps' on port 8640
[2010-07-27 17:12:30 - HelloGoogleMaps] ------------------------------
[2010-07-27 17:12:30 - HelloGoogleMaps] Android Launch!
[2010-07-27 17:12:30 - HelloGoogleMaps] adb is running normally.
[2010-07-27 17:12:30 - HelloGoogleMaps] Performing com.test.GoogleMaps.HelloGoogleMaps activity launch
[2010-07-27 17:12:30 - HelloGoogleMaps] Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
[2010-07-27 17:12:30 - HelloGoogleMaps] Launching a new emulator with Virtual Device 'my_avd'
[2010-07-27 17:12:34 - HelloGoogleMaps] New emulator found: emulator-5554
[2010-07-27 17:12:34 - HelloGoogleMaps] Waiting for HOME ('android.process.acore') to be launched...
[2010-07-27 17:13:05 - HelloGoogleMaps] WARNING: Application does not specify an API level requirement!
[2010-07-27 17:13:05 - HelloGoogleMaps] Device API version is 8 (Android 2.2)
[2010-07-27 17:13:05 - HelloGoogleMaps] HOME is up on device 'emulator-5554'
[2010-07-27 17:13:05 - HelloGoogleMaps] Uploading HelloGoogleMaps.apk onto device 'emulator-5554'
[2010-07-27 17:13:05 - HelloGoogleMaps] Installing HelloGoogleMaps.apk...
[2010-07-27 17:13:50 - HelloGoogleMaps] Success!
[2010-07-27 17:13:51 - HelloGoogleMaps] Starting activity com.test.GoogleMaps.HelloGoogleMaps on device
[2010-07-27 17:13:56 - HelloGoogleMaps] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.test.GoogleMaps/.HelloGoogleMaps }
[2010-07-27 17:16:31 - HelloGoogleMaps] ------------------------------
[2010-07-27 17:16:31 - HelloGoogleMaps] Android Launch!
[2010-07-27 17:16:31 - HelloGoogleMaps] adb is running normally.
[2010-07-27 17:16:31 - HelloGoogleMaps] Performing com.test.GoogleMaps.HelloGoogleMaps activity launch
[2010-07-27 17:16:31 - HelloGoogleMaps] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'my_avd'
[2010-07-27 17:16:31 - HelloGoogleMaps] WARNING: Application does not specify an API level requirement!
[2010-07-27 17:16:31 - HelloGoogleMaps] Device API version is 8 (Android 2.2)
[2010-07-27 17:16:31 - HelloGoogleMaps] Uploading HelloGoogleMaps.apk onto device 'emulator-5554'
[2010-07-27 17:16:31 - HelloGoogleMaps] Installing HelloGoogleMaps.apk...
[2010-07-27 17:16:42 - HelloGoogleMaps] Success!
[2010-07-27 17:16:43 - HelloGoogleMaps] Starting activity com.test.GoogleMaps.HelloGoogleMaps on device
[2010-07-27 17:16:46 - HelloGoogleMaps] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.test.GoogleMaps/.HelloGoogleMaps }
[2010-07-27 17:24:22 - HelloGoogleMaps] ------------------------------
[2010-07-27 17:24:22 - HelloGoogleMaps] Android Launch!
[2010-07-27 17:24:22 - HelloGoogleMaps] adb is running normally.
[2010-07-27 17:24:22 - HelloGoogleMaps] Performing com.test.GoogleMaps.HelloGoogleMaps activity launch
[2010-07-27 17:24:22 - HelloGoogleMaps] Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
[2010-07-27 17:24:22 - HelloGoogleMaps] Launching a new emulator with Virtual Device 'my_avd'
[2010-07-27 17:24:26 - HelloGoogleMaps] New emulator found: emulator-5554
[2010-07-27 17:24:26 - HelloGoogleMaps] Waiting for HOME ('android.process.acore') to be launched...
[2010-07-27 17:24:56 - HelloGoogleMaps] WARNING: Application does not specify an API level requirement!
[2010-07-27 17:24:56 - HelloGoogleMaps] Device API version is 8 (Android 2.2)
[2010-07-27 17:24:56 - HelloGoogleMaps] HOME is up on device 'emulator-5554'
[2010-07-27 17:24:56 - HelloGoogleMaps] Uploading HelloGoogleMaps.apk onto device 'emulator-5554'
[2010-07-27 17:24:56 - HelloGoogleMaps] Installing HelloGoogleMaps.apk...
[2010-07-27 17:25:34 - HelloGoogleMaps] Success!
[2010-07-27 17:25:34 - HelloGoogleMaps] Starting activity com.test.GoogleMaps.HelloGoogleMaps on device
[2010-07-27 17:25:38 - HelloGoogleMaps] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.test.GoogleMaps/.HelloGoogleMaps }
[2010-07-27 17:25:39 - HelloGoogleMaps] Attempting to connect debugger to 'com.test.GoogleMaps' on port 8667
[2010-07-27 17:27:06 - Emulator] emulator: emulator window was out of view and was recentred
[2010-07-27 17:27:06 - Emulator]
[2010-07-27 17:27:20 - HelloGoogleMaps] ------------------------------
[2010-07-27 17:27:20 - HelloGoogleMaps] Android Launch!
[2010-07-27 17:27:20 - HelloGoogleMaps] adb is running normally.
[2010-07-27 17:27:20 - HelloGoogleMaps] Performing com.test.GoogleMaps.HelloGoogleMaps activity launch
[2010-07-27 17:27:20 - HelloGoogleMaps] Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
[2010-07-27 17:27:20 - HelloGoogleMaps] Launching a new emulator with Virtual Device 'my_avd'
[2010-07-27 17:27:24 - HelloGoogleMaps] New emulator found: emulator-5554
[2010-07-27 17:27:24 - HelloGoogleMaps] Waiting for HOME ('android.process.acore') to be launched...
[2010-07-27 17:27:55 - HelloGoogleMaps] WARNING: Application does not specify an API level requirement!
[2010-07-27 17:27:55 - HelloGoogleMaps] Device API version is 8 (Android 2.2)
[2010-07-27 17:27:55 - HelloGoogleMaps] HOME is up on device 'emulator-5554'
[2010-07-27 17:27:55 - HelloGoogleMaps] Uploading HelloGoogleMaps.apk onto device 'emulator-5554'
[2010-07-27 17:27:55 - HelloGoogleMaps] Installing HelloGoogleMaps.apk...
[2010-07-27 17:28:42 - HelloGoogleMaps] Success!
[2010-07-27 17:28:43 - HelloGoogleMaps] Starting activity com.test.GoogleMaps.HelloGoogleMaps on device
[2010-07-27 17:28:47 - HelloGoogleMaps] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.test.GoogleMaps/.HelloGoogleMaps }
[2010-07-27 17:30:57 - HelloGoogleMaps] ------------------------------
[2010-07-27 17:30:57 - HelloGoogleMaps] Android Launch!
[2010-07-27 17:30:57 - HelloGoogleMaps] adb is running normally.
[2010-07-27 17:30:57 - HelloGoogleMaps] Performing com.test.GoogleMaps.HelloGoogleMaps activity launch
[2010-07-27 17:30:57 - HelloGoogleMaps] Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
[2010-07-27 17:30:57 - HelloGoogleMaps] Launching a new emulator with Virtual Device 'my_avd'
[2010-07-27 17:31:00 - HelloGoogleMaps] ------------------------------
[2010-07-27 17:31:00 - HelloGoogleMaps] Android Launch!
[2010-07-27 17:31:00 - HelloGoogleMaps] adb is running normally.
[2010-07-27 17:31:00 - HelloGoogleMaps] Performing com.test.GoogleMaps.HelloGoogleMaps activity launch
[2010-07-27 17:31:00 - HelloGoogleMaps] Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
[2010-07-27 17:31:00 - HelloGoogleMaps] Launching a new emulator with Virtual Device 'my_avd'
[2010-07-27 17:31:01 - HelloGoogleMaps] New emulator found: emulator-5554
[2010-07-27 17:31:01 - HelloGoogleMaps] Waiting for HOME ('android.process.acore') to be launched...
[2010-07-27 17:31:01 - Emulator] emulator: ERROR: the user data image is used by another emulator. aborting
[2010-07-27 17:31:32 - HelloGoogleMaps] WARNING: Application does not specify an API level requirement!
[2010-07-27 17:31:32 - HelloGoogleMaps] Device API version is 8 (Android 2.2)
[2010-07-27 17:31:32 - HelloGoogleMaps] HOME is up on device 'emulator-5554'
[2010-07-27 17:31:32 - HelloGoogleMaps] Uploading HelloGoogleMaps.apk onto device 'emulator-5554'
[2010-07-27 17:31:32 - HelloGoogleMaps] Installing HelloGoogleMaps.apk...
[2010-07-27 17:32:18 - HelloGoogleMaps] Success!
[2010-07-27 17:32:18 - HelloGoogleMaps] Starting activity com.test.GoogleMaps.HelloGoogleMaps on device
[2010-07-27 17:32:23 - HelloGoogleMaps] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.test.GoogleMaps/.HelloGoogleMaps }
[2010-07-27 17:32:25 - HelloGoogleMaps] Attempting to connect debugger to 'com.test.GoogleMaps' on port 8694

Help will be greatly appreciated
anandmehrotra420
Junior Developer
Junior Developer
 
Posts: 10
Joined: Tue Jul 27, 2010 2:18 am

Re: Google Map not working on SDK 2.1

Postby blundell » Wed Jul 28, 2010 8:29 am

Sorry I can't really see what's wrong there.
All I can recommend is Adding a API level to your android manifest, maybe adding the debbugale="true" tag and then just reading through: http://developer.android.com/guide/deve ... e-adt.html.

Sorry!
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: Google Map not working on SDK 2.1

Postby anandmehrotra420 » Wed Jul 28, 2010 10:49 pm

I finally got it to work.Thanks Blundell
anandmehrotra420
Junior Developer
Junior Developer
 
Posts: 10
Joined: Tue Jul 27, 2010 2:18 am

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 1 guest