だから私はここでチュートリアルを見つけました。しかし、実際のデバイスでも実行できません。ここと他の20ページで同様の問題が見つかりましたが、すべての人に問題がありましたが、AndroidでGoogleマップが機能しない理由がわかりません. これがLogcatのエラーです。
03-09 23:06:22.050: D/dalvikvm(28176): Late-enabling CheckJNI
03-09 23:06:22.277: W/dalvikvm(28176): VFY: unable to resolve static field 874 (MapAttrs) in Lcom/google/android/gms/R$styleable;
03-09 23:06:22.277: D/dalvikvm(28176): VFY: replacing opcode 0x62 at 0x000e
03-09 23:06:22.285: D/AndroidRuntime(28176): Shutting down VM
03-09 23:06:22.285: W/dalvikvm(28176): threadid=1: thread exiting with uncaught exception (group=0x40bbe1f8)
03-09 23:06:22.285: E/AndroidRuntime(28176): FATAL EXCEPTION: main
03-09 23:06:22.285: E/AndroidRuntime(28176): java.lang.NoClassDefFoundError: com.google.android.gms.R$styleable
03-09 23:06:22.285: E/AndroidRuntime(28176): at com.google.android.gms.maps.GoogleMapOptions.createFromAttributes(Unknown Source)
03-09 23:06:22.285: E/AndroidRuntime(28176): at com.google.android.gms.maps.MapFragment.onInflate(Unknown Source)
03-09 23:06:22.285: E/AndroidRuntime(28176): at android.app.Activity.onCreateView(Activity.java:4242)
03-09 23:06:22.285: E/AndroidRuntime(28176): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:673)
03-09 23:06:22.285: E/AndroidRuntime(28176): at android.view.LayoutInflater.rInflate(LayoutInflater.java:739)
03-09 23:06:22.285: E/AndroidRuntime(28176): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
03-09 23:06:22.285: E/AndroidRuntime(28176): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
03-09 23:06:22.285: E/AndroidRuntime(28176): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
03-09 23:06:22.285: E/AndroidRuntime(28176): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:273)
03-09 23:06:22.285: E/AndroidRuntime(28176): at android.app.Activity.setContentView(Activity.java:1835)
03-09 23:06:22.285: E/AndroidRuntime(28176): at com.alirezasaremi.showmap.ShowMapActivity.onCreate(ShowMapActivity.java:23)
03-09 23:06:22.285: E/AndroidRuntime(28176): at android.app.Activity.performCreate(Activity.java:4465)
03-09 23:06:22.285: E/AndroidRuntime(28176): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1053)
03-09 23:06:22.285: E/AndroidRuntime(28176): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1934)
03-09 23:06:22.285: E/AndroidRuntime(28176): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1995)
03-09 23:06:22.285: E/AndroidRuntime(28176): at android.app.ActivityThread.access$600(ActivityThread.java:128)
03-09 23:06:22.285: E/AndroidRuntime(28176): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1161)
03-09 23:06:22.285: E/AndroidRuntime(28176): at android.os.Handler.dispatchMessage(Handler.java:99)
03-09 23:06:22.285: E/AndroidRuntime(28176): at android.os.Looper.loop(Looper.java:137)
03-09 23:06:22.285: E/AndroidRuntime(28176): at android.app.ActivityThread.main(ActivityThread.java:4514)
03-09 23:06:22.285: E/AndroidRuntime(28176): at java.lang.reflect.Method.invokeNative(Native Method)
03-09 23:06:22.285: E/AndroidRuntime(28176): at java.lang.reflect.Method.invoke(Method.java:511)
03-09 23:06:22.285: E/AndroidRuntime(28176): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
03-09 23:06:22.285: E/AndroidRuntime(28176): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
03-09 23:06:22.285: E/AndroidRuntime(28176): at dalvik.system.NativeStart.main(Native Method)
誰か助けてくれませんか?