12-24 05:57:23.909: E / AndroidRuntime (948): Uncaught handler: thread main exiting due to uncaught exception
12-24 05:57:23.959: E / AndroidRuntime (948): java.lang.RuntimeException: Unable to start activity ComponentInfo {cn.com.inpound / cn.com.inpound.StartActivity}: android.view.InflateException: Binary XML file line # 2: Error inflating class android.widget.LinearLayout
12-24 05:57:23.959: E / AndroidRuntime (948): at android.app.ActivityThread.performLaunchActivity (ActivityThread.java: 2454)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java: 2470)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.app.ActivityThread.access $ 2200 (ActivityThread.java: 119)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.app.ActivityThread $ H.handleMessage (ActivityThread.java: 1821)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.os.Handler.dispatchMessage (Handler.java: 99)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.os.Looper.loop (Looper.java: 123)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.app.ActivityThread.main (ActivityThread.java: 4310)
12-24 05:57:23.959: E / AndroidRuntime (948): at java.lang.reflect.Method.invokeNative (Native Method)
12-24 05:57:23.959: E / AndroidRuntime (948): at java.lang.reflect.Method.invoke (Method.java: 521)
12-24 05:57:23.959: E / AndroidRuntime (948): at com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run (ZygoteInit.java: 860)
12-24 05:57:23.959: E / AndroidRuntime (948): at com.android.internal.os.ZygoteInit.main (ZygoteInit.java: 618)
12-24 05:57:23.959: E / AndroidRuntime (948): at dalvik.system.NativeStart.main (Native Method)
12-24 05:57:23.959: E / AndroidRuntime (948): Caused by: android.view.InflateException: Binary XML file line # 2: Error inflating class android.widget.LinearLayout
12-24 05:57:23.959: E / AndroidRuntime (948): at android.view.LayoutInflater.createView (LayoutInflater.java: 513)
12-24 05:57:23.959: E / AndroidRuntime (948): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView (PhoneLayoutInflater.java: 56)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.view.LayoutInflater.createViewFromTag (LayoutInflater.java: 563)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.view.LayoutInflater.inflate (LayoutInflater.java: 385)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.view.LayoutInflater.inflate (LayoutInflater.java: 320)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.view.LayoutInflater.inflate (LayoutInflater.java: 276)
12-24 05:57:23.959: E / AndroidRuntime (948): at com.android.internal.policy.impl.PhoneWindow.setContentView (PhoneWindow.java: 198)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.app.Activity.setContentView (Activity.java: 1622)
12-24 05:57:23.959: E / AndroidRuntime (948): at cn.com.inpound.StartActivity.onCreate (StartActivity.java: 22)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java: 1047)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.app.ActivityThread.performLaunchActivity (ActivityThread.java: 2417)
12-24 05:57:23.959: E / AndroidRuntime (948): ... 11 more
12-24 05:57:23.959: E / AndroidRuntime (948): Caused by: java.lang.reflect.InvocationTargetException
12-24 05:57:23.959: E / AndroidRuntime (948): at android.widget.LinearLayout. (LinearLayout.java: 92)
12-24 05:57:23.959: E / AndroidRuntime (948): at java.lang.reflect.Constructor.constructNative (Native Method)
12-24 05:57:23.959: E / AndroidRuntime (948): at java.lang.reflect.Constructor.newInstance (Constructor.java: 446)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.view.LayoutInflater.createView (LayoutInflater.java: 500)
12-24 05:57:23.959: E / AndroidRuntime (948): ... 21 more
12-24 05:57:23.959: E / AndroidRuntime (948): Caused by: android.content.res.Resources $ NotFoundException: File res/drawable-mdpi/title_bar_shadow.9.png from drawable resource ID # 0x7f020007
12-24 05:57:23.959: E / AndroidRuntime (948): at android.content.res.Resources.loadDrawable (Resources.java: 1710)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.content.res.TypedArray.getDrawable (TypedArray.java: 548)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.view.View. (View.java: 1850)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.view.View. (View.java: 1799)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.view.ViewGroup(ViewGroup.java: 282).
12-24 05:57:23.959: E / AndroidRuntime (948): ... 25 more
12-24 05:57:23.959: E / AndroidRuntime (948): Caused by: java.io.FileNotFoundException: res/drawable-mdpi/title_bar_shadow.9.png
12-24 05:57:23.959: E / AndroidRuntime (948): at android.content.res.AssetManager.openNonAssetNative (Native Method)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.content.res.AssetManager.openNonAsset (AssetManager.java: 391)
12-24 05:57:23.959: E / AndroidRuntime (948): at android.content.res.Resources.loadDrawable (Resources.java: 1702)
12-24 05:57:23.959: E / AndroidRuntime (948): ... 29 more
xmlns: android = "http://schemas.android.com/apk/res/android"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: gravity = "center"
android: background = "@ drawable / background" android: orientation = "horizontal">android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: src = "@ drawable / app_logo"
/>android: id = "@ + id / textWelcome"
android: layout_width = "wrap_content"
android: textColor = "# 000000"
android: text = "@ string / app_name"
android: layout_height = "wrap_content" />
I have not found xml error, this is what's going on?<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Will the next how the matter? ?
Reply:
The bottom of the message is not to say it did not find title_bar_shadow.9.png
Reply:
The key startup items not loaded title_bar_shadow.9.png, and the program has this icon, and I also re-program citrate Yeah, or so
Reply:
1 Carefully check your picture file exists
2.clean
3. Restart eclipse look
Reply:
The same problem, check a lot to say, is probably the memory overflow problem, to find a solution in the ...
Reply:
I encountered the same problem with! I have a custom launcher on rk2818 compiled into source code, the run out of this problem. Direct installation is no problem. Who knows what is the reason?
Reply:
Will the landlord to solve it? I have a monkey test emerged
Reply:
There may be done title_bar_shadow.9.png pictures inside the compiler does not recognize.
Reply:
Solved yet
Encountered the same problem
Reply:
Will the landlord to solve it? I have a monkey test emerged, I have encountered this problem.
No comments:
Post a Comment