You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Process: com.chuzu.client, PID: 9641
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.chuzu.client/com.chuzu.client.activity.main.MainActivity}: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.chuzu.client/com.chuzu.client.activity.home.HomeActivity}: android.view.InflateException: Binary XML file line #23: Binary XML file line #23: Error inflating class <unknown>
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3118)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3253)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1996)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7053)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:536)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876)
Caused by: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.chuzu.client/com.chuzu.client.activity.home.HomeActivity}: android.view.InflateException: Binary XML file line #23: Binary XML file line #23: Error inflating class <unknown>
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3118)
at android.app.ActivityThread.startActivityNow(ActivityThread.java:2919)
at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:139)
at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:366)
at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:774)
at android.widget.TabHost.setCurrentTab(TabHost.java:428)
at android.widget.TabHost.addTab(TabHost.java:238)
at com.chuzu.client.activity.main.MainActivity.onCreate(MainActivity.java:82)
at android.app.Activity.performCreate(Activity.java:7255)
at android.app.Activity.performCreate(Activity.java:7246)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1275)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3098)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3253)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1996)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7053)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:536)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876)
Caused by: android.view.InflateException: Binary XML file line #23: Binary XML file line #23: Error inflating class <unknown>
Caused by: android.view.InflateException: Binary XML file line #23: Error inflating class <unknown>
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at android.view.LayoutInflater.createView(LayoutInflater.java:656)
at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:765)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:833)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:775)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:908)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:869)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:911)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:869)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:911)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:869)
at android.view.LayoutInflater.inflate(LayoutInflater.java:521)
at android.view.LayoutInflater.inflate(LayoutInflater.java:429)
at android.view.LayoutInflater.inflate(LayoutInflater.java:380)
at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:463)
at android.app.Activity.setContentView(Activity.java:2792)
2019-12-13 17:25:11.130 9641-9641/com.chuzu.client E/AndroidRuntime: at com.chuzu.client.activity.main.BaseActivity.onCreate(BaseActivity.java:56)
at com.chuzu.client.activity.home.HomeActivity.onCreate(HomeActivity.java:403)
at android.app.Activity.performCreate(Activity.java:7255)
at android.app.Activity.performCreate(Activity.java:7246)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1275)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3098)
at android.app.ActivityThread.startActivityNow(ActivityThread.java:2919)
at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:139)
at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:366)
at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:774)
at android.widget.TabHost.setCurrentTab(TabHost.java:428)
at android.widget.TabHost.addTab(TabHost.java:238)
at com.chuzu.client.activity.main.MainActivity.onCreate(MainActivity.java:82)
at android.app.Activity.performCreate(Activity.java:7255)
at android.app.Activity.performCreate(Activity.java:7246)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1275)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3098)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3253)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1996)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7053)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:536)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876)
Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 6: TypedValue{t=0x2/d=0x101009b a=1}
at android.content.res.TypedArray.getColorStateList(TypedArray.java:546)
at android.widget.TextView.readTextAppearance(TextView.java:3574)
at android.widget.TextView.(TextView.java:945)
at android.widget.Button.(Button.java:166)
at android.widget.Button.(Button.java:141)
at android.widget.Button.(Button.java:117)
... 46 more
下面是xml:
2019-12-13 17:25:11.130 9641-9641/com.chuzu.client E/AndroidRuntime: at com.chuzu.client.activity.main.BaseActivity.onCreate(BaseActivity.java:56)
at com.chuzu.client.activity.home.HomeActivity.onCreate(HomeActivity.java:403)
at android.app.Activity.performCreate(Activity.java:7255)
at android.app.Activity.performCreate(Activity.java:7246)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1275)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3098)
at android.app.ActivityThread.startActivityNow(ActivityThread.java:2919)
at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:139)
at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:366)
at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:774)
at android.widget.TabHost.setCurrentTab(TabHost.java:428)
at android.widget.TabHost.addTab(TabHost.java:238)
at com.chuzu.client.activity.main.MainActivity.onCreate(MainActivity.java:82)
at android.app.Activity.performCreate(Activity.java:7255)
at android.app.Activity.performCreate(Activity.java:7246)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1275)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3098)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3253)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1996)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7053)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:536)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876)
Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 6: TypedValue{t=0x2/d=0x101009b a=1}
at android.content.res.TypedArray.getColorStateList(TypedArray.java:546)
at android.widget.TextView.readTextAppearance(TextView.java:3574)
at android.widget.TextView.(TextView.java:945)
at android.widget.Button.(Button.java:166)
at android.widget.Button.(Button.java:141)
at android.widget.Button.(Button.java:117)
... 46 more
下面是xml:
The text was updated successfully, but these errors were encountered: