I just pulled the 2.1 source recently, and am trying to compile
Launcher2 currently. It compiles fine, but when I push it onto my
phone, it FCs constantly, with the error:

E/AndroidRuntime(13990): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime(13990): java.lang.RuntimeException: Unable to start
activity ComponentInfo{com.android.launcher2/
com.android.launcher2.Launcher}: android.view.InflateException: Binary
XML file line #53: Error inflating class android.widget.ImageView
E/AndroidRuntime(13990):        at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2496)
E/AndroidRuntime(13990):        at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2512)
E/AndroidRuntime(13990):        at android.app.ActivityThread.access
$2200(ActivityThread.java:119)
E/AndroidRuntime(13990):        at android.app.ActivityThread
$H.handleMessage(ActivityThread.java:1863)
E/AndroidRuntime(13990):        at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(13990):        at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(13990):        at
android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime(13990):        at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(13990):        at
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(13990):        at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime(13990):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime(13990):        at dalvik.system.NativeStart.main(Native
Method)
E/AndroidRuntime(13990): Caused by: android.view.InflateException:
Binary XML file line #53: Error inflating class
android.widget.ImageView
E/AndroidRuntime(13990):        at
android.view.LayoutInflater.createView(LayoutInflater.java:513)
E/AndroidRuntime(13990):        at
com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:
56)
E/AndroidRuntime(13990):        at
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
E/AndroidRuntime(13990):        at
android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
E/AndroidRuntime(13990):        at
android.view.LayoutInflater.inflate(LayoutInflater.java:407)
E/AndroidRuntime(13990):        at
android.view.LayoutInflater.inflate(LayoutInflater.java:320)
E/AndroidRuntime(13990):        at
android.view.LayoutInflater.inflate(LayoutInflater.java:276)
E/AndroidRuntime(13990):        at
com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:
198)
E/AndroidRuntime(13990):        at
android.app.Activity.setContentView(Activity.java:1622)
E/AndroidRuntime(13990):        at
com.android.launcher2.Launcher.onCreate(Launcher.java:223)
E/AndroidRuntime(13990):        at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1047)
E/AndroidRuntime(13990):        at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2459)
E/AndroidRuntime(13990):        ... 11 more
E/AndroidRuntime(13990): Caused by:
java.lang.reflect.InvocationTargetException
E/AndroidRuntime(13990):        at
android.widget.ImageView.<init>(ImageView.java:105)
E/AndroidRuntime(13990):        at
java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime(13990):        at
java.lang.reflect.Constructor.newInstance(Constructor.java:446)
E/AndroidRuntime(13990):        at
android.view.LayoutInflater.createView(LayoutInflater.java:500)
E/AndroidRuntime(13990):        ... 22 more
E/AndroidRuntime(13990): Caused by: android.content.res.Resources
$NotFoundException: File res/drawable/home_arrows_left.xml from
drawable resource ID #0x7f02000d
E/AndroidRuntime(13990):        at
android.content.res.Resources.loadDrawable(Resources.java:1693)
E/AndroidRuntime(13990):        at
android.content.res.TypedArray.getDrawable(TypedArray.java:548)
E/AndroidRuntime(13990):        at
android.widget.ImageView.<init>(ImageView.java:115)
E/AndroidRuntime(13990):        ... 26 more
E/AndroidRuntime(13990): Caused by: android.content.res.Resources
$NotFoundException: File res/drawable/home_arrows_left_1.xml from
drawable resource ID #0x7f02000e
E/AndroidRuntime(13990):        at
android.content.res.Resources.loadDrawable(Resources.java:1693)
E/AndroidRuntime(13990):        at
android.content.res.Resources.getDrawable(Resources.java:580)
E/AndroidRuntime(13990):        at
android.graphics.drawable.LevelListDrawable.inflate(LevelListDrawable.java:
124)
E/AndroidRuntime(13990):        at
android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:
788)
E/AndroidRuntime(13990):        at
android.graphics.drawable.Drawable.createFromXml(Drawable.java:729)
E/AndroidRuntime(13990):        at
android.content.res.Resources.loadDrawable(Resources.java:1690)
E/AndroidRuntime(13990):        ... 28 more
E/AndroidRuntime(13990): Caused by: android.content.res.Resources
$NotFoundException: Resource ID #0x7f02001e
E/AndroidRuntime(13990):        at
android.content.res.Resources.getValue(Resources.java:891)
E/AndroidRuntime(13990):        at
android.content.res.Resources.getDrawable(Resources.java:579)
E/AndroidRuntime(13990):        at
android.graphics.drawable.StateListDrawable.inflate(StateListDrawable.java:
160)
E/AndroidRuntime(13990):        at
android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:
788)
E/AndroidRuntime(13990):        at
android.graphics.drawable.Drawable.createFromXml(Drawable.java:729)
E/AndroidRuntime(13990):        at
android.content.res.Resources.loadDrawable(Resources.java:1690)
E/AndroidRuntime(13990):        ... 33 more

Please help me !!!! thanks very much!!!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to