breber / cardgames

Repository for continuation of CS309 Project
https://play.google.com/store/apps/details?id=com.worthwhilegames.cardgames
3 stars 1 forks source link

Figure out what is causing the crash listed on developer console #23

Closed breber closed 12 years ago

breber commented 12 years ago

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.worthwhilegames.cardgames/com.worthwhilegames.cardgames.gameboard.activities.ConnectionFailActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1836) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1852) at android.app.ActivityThread.access$500(ActivityThread.java:124) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1038) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:132) at android.app.ActivityThread.main(ActivityThread.java:4196) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:491) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #12: Error inflating class at android.view.LayoutInflater.createView(LayoutInflater.java:596) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:671) at android.view.LayoutInflater.rInflate(LayoutInflater.java:724) at android.view.LayoutInflater.inflate(LayoutInflater.java:479) at android.view.LayoutInflater.inflate(LayoutInflater.java:391) at android.view.LayoutInflater.inflate(LayoutInflater.java:347) at com.android.internal.policy.impl.tv.TvWindow.setContentView(TvWindow.java:253) at android.app.Activity.setContentView(Activity.java:1800) at com.worthwhilegames.cardgames.gameboard.activities.ConnectionFailActivity.onCreate(ConnectionFailActivity.java:39) at android.app.Activity.performCreate(Activity.java:4429) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1048) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1800) ... 11 more Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:416) at android.view.LayoutInflater.createView(LayoutInflater.java:576) ... 22 more Caused by: java.lang.UnsupportedOperationException: Can't convert to color: type=0x2 at android.content.res.TypedArray.getColor(TypedArray.java:326) at android.widget.TextView.(TextView.java:457) at android.widget.TextView.(TextView.java:399) at com.worthwhilegames.cardgames.shared.TextView.(TextView.java:26) ... 25 more