綁定帳號登入

Android 台灣中文網

TVBS影院

[求助] 關於此log的錯誤,到底要怎麼看呢? 請求前輩們指導

[複製連結] 查看: 1910|回覆: 2|好評: 0
darklight | 收聽TA | 顯示全部樓層 |閱讀模式
發表於 2013-11-8 01:20

馬上加入Android 台灣中文網,立即免費下載應用遊戲。

您需要 登錄 才可以下載或查看,沒有帳號?註冊

x
11-08 01:13:42.039: E/AndroidRuntime(503): FATAL EXCEPTION: main
11-08 01:13:42.039: E/AndroidRuntime(503): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.c_hitch/com.example.c_hitch.driver_use}: android.view.InflateException: Binary XML file line #13: Error inflating class fragment
11-08 01:13:42.039: E/AndroidRuntime(503):         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at android.app.ActivityThread.access$600(ActivityThread.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at android.os.Handler.dispatchMessage(Handler.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at android.os.Looper.loop(Looper.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at android.app.ActivityThread.main(ActivityThread.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at java.lang.reflect.Method.invokeNative(Native Method)
11-08 01:13:42.039: E/AndroidRuntime(503):         at java.lang.reflect.Method.invoke(Method.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at dalvik.system.NativeStart.main(Native Method)
11-08 01:13:42.039: E/AndroidRuntime(503): Caused by: android.view.InflateException: Binary XML file line #13: Error inflating class fragment
11-08 01:13:42.039: E/AndroidRuntime(503):         at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at android.view.LayoutInflater.rInflate(LayoutInflater.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at android.view.LayoutInflater.inflate(LayoutInflater.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at android.view.LayoutInflater.inflate(LayoutInflater.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at android.view.LayoutInflater.inflate(LayoutInflater.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at android.app.Activity.setContentView(Activity.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at com.example.c_hitch.driver_use.onCreate(driver_use.java:26)
11-08 01:13:42.039: E/AndroidRuntime(503):         at android.app.Activity.performCreate(Activity.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java)
11-08 01:13:42.039: E/AndroidRuntime(503):         ... 12 more
11-08 01:13:42.039: E/AndroidRuntime(503): Caused by: java.lang.IllegalStateException: The meta-data tag in your app"s AndroidManifest.xml does not have the right value.  Expected 4030500 but found 0.  You must have the following declaration within the <application> element:     <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
11-08 01:13:42.039: E/AndroidRuntime(503):         at com.google.android.gms.common.GooglePlayServicesUtil.n(Unknown Source)
11-08 01:13:42.039: E/AndroidRuntime(503):         at com.google.android.gms.common.GooglePlayServicesUtil.isGooglePlayServicesAvailable(Unknown Source)
11-08 01:13:42.039: E/AndroidRuntime(503):         at com.google.android.gms.maps.internal.q.v(Unknown Source)
11-08 01:13:42.039: E/AndroidRuntime(503):         at com.google.android.gms.maps.internal.q.u(Unknown Source)
11-08 01:13:42.039: E/AndroidRuntime(503):         at com.google.android.gms.maps.MapsInitializer.initialize(Unknown Source)
11-08 01:13:42.039: E/AndroidRuntime(503):         at com.google.android.gms.maps.SupportMapFragment$b.cE(Unknown Source)
11-08 01:13:42.039: E/AndroidRuntime(503):         at com.google.android.gms.maps.SupportMapFragment$b.a(Unknown Source)
11-08 01:13:42.039: E/AndroidRuntime(503):         at com.google.android.gms.dynamic.a.a(Unknown Source)
11-08 01:13:42.039: E/AndroidRuntime(503):         at com.google.android.gms.dynamic.a.onInflate(Unknown Source)
11-08 01:13:42.039: E/AndroidRuntime(503):         at com.google.android.gms.maps.SupportMapFragment.onInflate(Unknown Source)
11-08 01:13:42.039: E/AndroidRuntime(503):         at android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:290)
11-08 01:13:42.039: E/AndroidRuntime(503):         ... 22 more

這是我從eclipse 中出現的錯誤....

請求前輩提點一下錯誤在哪如何看
「用Android 就來APK.TW」,快來加入粉絲吧!
Android 台灣中文網(APK.TW)
用Android 就來Android 台灣中文網(https://apk.tw)
回覆

使用道具 舉報

xjxuvup | 收聽TA | 顯示全部樓層
發表於 2013-11-8 09:10
找Caused by這個關鍵字就能知道你錯在哪了
這是你發生問題得點
但並不是每次都會出現Caused by這個關鍵字
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

cccyguo | 收聽TA | 顯示全部樓層
發表於 2014-3-12 09:43
我也遇到这个问题,楼主  请问解决了嘛
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則