[Java for Android App Development] Nickc001:
Hi,

When I try running my app as am new to android, I keep getting the error message when I try running it using the emulator. It say it stopped unexpectedly. When I try use logcat and debug it, it shows the following messages.

09-21 13:43:51.164: E/AndroidRuntime(272): FATAL EXCEPTION: main

09-21 13:43:51.164: E/AndroidRuntime(272): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.permissionchecker/com.example.permissionchecker.MainActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class <unknown>

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.app.ActivityThread.access$2300(ActivityThread.java:125)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.os.Handler.dispatchMessage(Handler.java:99)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.os.Looper.loop(Looper.java:123)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.app.ActivityThread.main(ActivityThread.java:4627)

09-21 13:43:51.164: E/AndroidRuntime(272):	at java.lang.reflect.Method.invokeNative(Native Method)

09-21 13:43:51.164: E/AndroidRuntime(272):	at java.lang.reflect.Method.invoke(Method.java:521)

09-21 13:43:51.164: E/AndroidRuntime(272):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)

09-21 13:43:51.164: E/AndroidRuntime(272):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)

09-21 13:43:51.164: E/AndroidRuntime(272):	at dalvik.system.NativeStart.main(Native Method)

09-21 13:43:51.164: E/AndroidRuntime(272): Caused by: android.view.InflateException: Binary XML file line #12: Error inflating class <unknown>

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.view.LayoutInflater.createView(LayoutInflater.java:513)

09-21 13:43:51.164: E/AndroidRuntime(272):	at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.view.LayoutInflater.inflate(LayoutInflater.java:407)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.view.LayoutInflater.inflate(LayoutInflater.java:320)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.view.LayoutInflater.inflate(LayoutInflater.java:276)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.support.v7.app.ActionBarActivityDelegateBase.setContentView(ActionBarActivityDelegateBase.java:128)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.support.v7.app.ActionBarActivity.setContentView(ActionBarActivity.java:77)

09-21 13:43:51.164: E/AndroidRuntime(272):	at com.example.permissionchecker.MainActivity.onCreate(MainActivity.java:20)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)

09-21 13:43:51.164: E/AndroidRuntime(272):	... 11 more

09-21 13:43:51.164: E/AndroidRuntime(272): Caused by: java.lang.reflect.InvocationTargetException

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.widget.TextView.<init>(TextView.java:321)

09-21 13:43:51.164: E/AndroidRuntime(272):	at java.lang.reflect.Constructor.constructNative(Native Method)

09-21 13:43:51.164: E/AndroidRuntime(272):	at java.lang.reflect.Constructor.newInstance(Constructor.java:446)

09-21 13:43:51.164: E/AndroidRuntime(272): Caused by: android.content.res.Resources$NotFoundException: File res/drawable-xhdpi/abc_ab_bottom_transparent_light_holo.9.png from drawable resource ID #0x7f0b008b: .xml extension required

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.content.res.Resources.loadColorStateList(Resources.java:1824)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.content.res.TypedArray.getColorStateList(TypedArray.java:342)

09-21 13:43:51.164: E/AndroidRuntime(272):	at android.widget.TextView.<init>(TextView.java:632)

09-21 13:43:51.164: E/AndroidRuntime(272):	... 26 more

I believe it has something to do with me java class file, but I cannot to find anything wrong with it.

Any help would be greatly appreciated

Thank you