Actually, I think the problem is that the color attribute I am using "textColorPrimaryInverseDisableOnly" doesn't exists (or 0) on the Wildfire/Tattoo
On May 29, 8:29 am, Mark Murphy <mmur...@commonsware.com> wrote: > Based upon the exception, Android is failing to load > R.drawable.btn_dropdown > ("android.content.res.Resources$NotFoundException: File > res/drawable/btn_dropdown.xml"), not android.R.drawable.btn_dropdown. > > > > > > On Sat, May 28, 2011 at 8:10 PM, Zsolt Vasvari <zvasv...@gmail.com> wrote: > > I've received the following crash report from a user. He's running > > HTC Wildfire 2.1. I've tried duplicating the issue on the emulator by > > setting up a Wildfire-like system (2.1, QVGA). but no luck. I > > suspected a corrupt installation, so I sent him my APK and the same > > thing happened. > > > I am at a complete loss. Mark Murphy appears to have answered a > > similar question recently on StackOverflow, but he's just stating what > > I already know: > > >http://stackoverflow.com/questions/6060592/resources-notfoundexceptio... > > > But I am not using a the compatibility library. My error indicates > > that the system cannot inflate a TextView as it cannot load one of the > > built in resources. Anybody has a clue? > > > Caused by: android.view.InflateException: Binary XML file line #40: > > Error inflating class <unknown> > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.view.LayoutInflater.createView(LayoutInflater.java:513) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java: > > 56) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.view.LayoutInflater.rInflate(LayoutInflater.java:618) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.view.LayoutInflater.rInflate(LayoutInflater.java:621) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.view.LayoutInflater.inflate(LayoutInflater.java:407) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.view.LayoutInflater.inflate(LayoutInflater.java:320) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.view.LayoutInflater.inflate(LayoutInflater.java:276) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java: > > 207) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.app.Activity.setContentView(Activity.java:1629) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > com.zvasvari.anmoney.app.transaction.activity.NewEdit.e(Unknown > > Source) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > com.zvasvari.anmoney.app.AnMoneyActivity.onCreate(Unknown Source) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: > > 1047) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.app.ActivityThread.performLaunchActivity(ActivityThread.java: > > 2549) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): ... 11 more > > 05-28 10:47:40.346 E/AndroidRuntime(2108): Caused by: > > java.lang.reflect.InvocationTargetException > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.widget.TextView.<init>(TextView.java:329) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > java.lang.reflect.Constructor.constructNative(Native Method) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > java.lang.reflect.Constructor.newInstance(Constructor.java:446) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.view.LayoutInflater.createView(LayoutInflater.java:500) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): ... 24 more > > 05-28 10:47:40.346 E/AndroidRuntime(2108): Caused by: > > android.content.res.Resources$NotFoundException: File res/drawable/ > > btn_dropdown.xml from color state list resource ID #0x0 > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.content.res.Resources.loadColorStateList(Resources.java:1813) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.content.res.TypedArray.getColorStateList(TypedArray.java:289) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.widget.TextView.<init>(TextView.java:639) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): ... 28 more > > 05-28 10:47:40.346 E/AndroidRuntime(2108): Caused by: > > android.content.res.Resources$NotFoundException: File res/drawable/ > > btn_dropdown.xml from xml type colorstatelist resource ID #0x0 > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.content.res.Resources.loadXmlResourceParser(Resources.java: > > 1920) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): at > > android.content.res.Resources.loadColorStateList(Resources.java:1808) > > 05-28 10:47:40.346 E/AndroidRuntime(2108): ... 30 more > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price!- Hide quoted > text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en