小编Kin*_*ark的帖子

Android谷歌地图v2错误

我正在关注本教程:http: //www.tutos-android.com/introduction-a-google-map-v2

以下是源代码:http: //www.tutos-android.com/wp-content/uploads/2013/03/GmapV2.zip

我得到这个错误:

02-18 18:51:05.699: E/Trace(774): error opening trace file: No such file or directory (2)
02-18 18:51:06.818: E/AndroidRuntime(774): FATAL EXCEPTION: main
02-18 18:51:06.818: E/AndroidRuntime(774): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tutos.android.gmapv2/com.tutos.android.gmapv2.MyMapActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class fragment
02-18 18:51:06.818: E/AndroidRuntime(774):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
02-18 18:51:06.818: E/AndroidRuntime(774):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
02-18 18:51:06.818: E/AndroidRuntime(774):  at android.app.ActivityThread.access$600(ActivityThread.java:130)
02-18 18:51:06.818: E/AndroidRuntime(774):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
02-18 18:51:06.818: E/AndroidRuntime(774):  at android.os.Handler.dispatchMessage(Handler.java:99)
02-18 18:51:06.818: E/AndroidRuntime(774):  at android.os.Looper.loop(Looper.java:137)
02-18 18:51:06.818: E/AndroidRuntime(774): …
Run Code Online (Sandbox Code Playgroud)

android google-maps android-maps-v2

-1
推荐指数
1
解决办法
1973
查看次数

标签 统计

android ×1

android-maps-v2 ×1

google-maps ×1