I’m trying to learn to use the Bing Maps API for Android. I downloaded the SDK from the CodePlex site but the application seems to crash when I try to run it on my Eclipse emulator. I haven’t touched the code at all so I’m wondering if there was a step I missed in the install/download or something.
Here’s my LogCat.
06-11 15:26:27.760: D/dalvikvm(5092): GC_EXTERNAL_ALLOC freed 5K, 51% free 2675K/5379K, external 1800K/2127K, paused 15ms
06-11 15:26:27.810: W/webcore(5092): Can't get the viewWidth after the first layout
06-11 15:26:27.840: D/gralloc_goldfish(5092): Emulator without GPU emulation detected.
06-11 15:26:28.100: W/dalvikvm(5092): JNI WARNING: jarray 0xb6ceee40 points to non-array object (Ljava/lang/String;)
06-11 15:26:28.100: I/dalvikvm(5092): "WebViewCoreThread" prio=5 tid=8 NATIVE
06-11 15:26:28.100: I/dalvikvm(5092): | group="main" sCount=0 dsCount=0 obj=0xb6c70ac8 self=0x8ea4588
06-11 15:26:28.100: I/dalvikvm(5092): | sysTid=5101 nice=0 sched=0/0 cgrp=[fopen-error:2] handle=149572152
06-11 15:26:28.100: I/dalvikvm(5092): at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
06-11 15:26:28.100: I/dalvikvm(5092): at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
06-11 15:26:28.100: I/dalvikvm(5092): at android.webkit.JWebCoreJavaBridge.fireSharedTimer(JWebCoreJavaBridge.java:91)
06-11 15:26:28.100: I/dalvikvm(5092): at android.webkit.JWebCoreJavaBridge.handleMessage(JWebCoreJavaBridge.java:108)
06-11 15:26:28.100: I/dalvikvm(5092): at android.os.Handler.dispatchMessage(Handler.java:99)
06-11 15:26:28.100: I/dalvikvm(5092): at android.os.Looper.loop(Looper.java:130)
06-11 15:26:28.100: I/dalvikvm(5092): at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:629)
06-11 15:26:28.100: I/dalvikvm(5092): at java.lang.Thread.run(Thread.java:1019)
06-11 15:26:28.100: E/dalvikvm(5092): VM aborting
Add GPU emulation in emulator. Open AVD Manager > choose emulator > edit > hardware section > new > GPU emulation > set to yes
http://developer.android.com/guide/developing/devices/emulator.html#accel-graphics