Saturday, May 4, 2013

[android help] Google Map Api v2 doesn't working

android - Google Map Api v2 doesn't working - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















i am creating an app using google map api v2 but while launch the activity it will getting crashed.


logcat



05-04 11:57:09.128: D/dalvikvm(415): DexOpt: couldn't find field Landroid/content/res/Configuration;.smallestScreenWidthDp
05-04 11:57:09.128: W/dalvikvm(415): VFY: unable to resolve instance field 25
05-04 11:57:09.128: D/dalvikvm(415): VFY: replacing opcode 0x52 at 0x0012
05-04 11:57:09.138: D/dalvikvm(415): VFY: dead code 0x0014-0018 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b (Landroid/content/res/Resources;)Z
05-04 11:57:09.258: W/GooglePlayServicesUtil(415): Google Play services is missing.
05-04 11:57:09.278: W/GooglePlayServicesUtil(415): Google Play services is missing.
05-04 11:57:09.308: W/GooglePlayServicesUtil(415): Google Play services is missing.
05-04 11:57:09.318: W/GooglePlayServicesUtil(415): Google Play services is missing.
05-04 11:57:09.338: W/GooglePlayServicesUtil(415): Google Play services is missing.
05-04 11:57:09.378: W/GooglePlayServicesUtil(415): Google Play services is missing.
05-04 11:57:09.418: D/AndroidRuntime(415): Shutting down VM
05-04 11:57:09.418: W/dalvikvm(415): threadid=1: thread exiting with uncaught exception (group=0x40015560)
05-04 11:57:09.448: E/AndroidRuntime(415): FATAL EXCEPTION: main
05-04 11:57:09.448: E/AndroidRuntime(415): java.lang.RuntimeException: Unable to start activity ComponentInfo{androidapp.aroundme/androidapp.aroundme.MainActivity}: java.lang.NullPointerException
05-04 11:57:09.448: E/AndroidRuntime(415): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647)
05-04 11:57:09.448: E/AndroidRuntime(415): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
05-04 11:57:09.448: E/AndroidRuntime(415): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
05-04 11:57:09.448: E/AndroidRuntime(415): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
05-04 11:57:09.448: E/AndroidRuntime(415): at android.os.Handler.dispatchMessage(Handler.java:99)
05-04 11:57:09.448: E/AndroidRuntime(415): at android.os.Looper.loop(Looper.java:130)
05-04 11:57:09.448: E/AndroidRuntime(415): at android.app.ActivityThread.main(ActivityThread.java:3683)
05-04 11:57:09.448: E/AndroidRuntime(415): at java.lang.reflect.Method.invokeNative(Native Method)
05-04 11:57:09.448: E/AndroidRuntime(415): at java.lang.reflect.Method.invoke(Method.java:507)
05-04 11:57:09.448: E/AndroidRuntime(415): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
05-04 11:57:09.448: E/AndroidRuntime(415): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
05-04 11:57:09.448: E/AndroidRuntime(415): at dalvik.system.NativeStart.main(Native Method)
05-04 11:57:09.448: E/AndroidRuntime(415): Caused by: java.lang.NullPointerException
05-04 11:57:09.448: E/AndroidRuntime(415): at androidapp.aroundme.MainActivity.onCreate(MainActivity.java:37)
05-04 11:57:09.448: E/AndroidRuntime(415): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
05-04 11:57:09.448: E/AndroidRuntime(415): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
05-04 11:57:09.448: E/AndroidRuntime(415): ... 11 more
05-04 11:57:11.438: I/Process(415): Sending signal. PID: 415 SIG: 9


please solve my problem.
















Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.










default






.

stackoverflow.comm

No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...