shwenzhang / AndResGuard

proguard resource for Android by wechat team
Apache License 2.0
8.55k stars 1.54k forks source link

android.view.InflateException: Binary XML file line #10: Binary XML file line #10: Error inflating class <unknown> #465

Open ClaymanTwinkle opened 3 years ago

ClaymanTwinkle commented 3 years ago

0 android.view.InflateException: Binary XML file line #10: Binary XML file line #10: Error inflating class 1 Caused by: android.view.InflateException: Binary XML file line #10: Error inflating class 2 Caused by: java.lang.reflect.InvocationTargetException 3 at java.lang.reflect.Constructor.newInstance0(Constructor.java) 4 at java.lang.reflect.Constructor.newInstance(Constructor.java:343) 5 at android.view.LayoutInflater.createView(LayoutInflater.java:656) 6 at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58) 7 at android.view.LayoutInflater.onCreateView(LayoutInflater.java:765) 8 at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:848) 9 at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:775) 10 at android.view.LayoutInflater.rInflate(LayoutInflater.java:925) 11 at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:886) 12 at android.view.LayoutInflater.inflate(LayoutInflater.java:521) 13 at android.view.LayoutInflater.inflate(LayoutInflater.java:429) 14 at android.view.LayoutInflater.inflate(LayoutInflater.java:380) 15 at com.lemon.upgrade.handler.DefaultUpgradeDialog.onCreateView(DefaultUpgradeDialog.java:69) 16 at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2698) 17 at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:320) 18 at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1187) 19 at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1356) 20 at androidx.fragment.app.FragmentManager.moveFragmentToExpectedState(FragmentManager.java:1434) 21 at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1497) 22 at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:447) 23 at androidx.fragment.app.FragmentManager.executeOps(FragmentManager.java:2169) 24 at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1992) 25 at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1947) 26 at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1849) 27 at androidx.fragment.app.FragmentManager$4.run(FragmentManager.java:413) 28 at android.os.Handler.handleCallback(Handler.java:873) 29 at android.os.Handler.dispatchMessage(Handler.java:99) 30 at android.os.Looper.loop(Looper.java:224) 31 at android.app.ActivityThread.main(ActivityThread.java:7085) 32 at java.lang.reflect.Method.invoke(Method.java) 33 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604) 34 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:928) 35 Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 6: TypedValue{t=0x2/d=0x101009b a=1} 36 at android.content.res.TypedArray.getColorStateList(TypedArray.java:546) 37 at android.widget.TextView.readTextAppearance(TextView.java:3583) 38 at android.widget.TextView.(TextView.java:959) 39 at android.widget.TextView.(TextView.java:904) 40 at android.widget.TextView.(TextView.java:900) 41 at java.lang.reflect.Constructor.newInstance0(Constructor.java) 42 at java.lang.reflect.Constructor.newInstance(Constructor.java:343) 43 at android.view.LayoutInflater.createView(LayoutInflater.java:656) 44 at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58) 45 at android.view.LayoutInflater.onCreateView(LayoutInflater.java:765) 46 at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:848) 47 at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:775) 48 at android.view.LayoutInflater.rInflate(LayoutInflater.java:925) 49 at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:886) 50 at android.view.LayoutInflater.inflate(LayoutInflater.java:521) 51 at android.view.LayoutInflater.inflate(LayoutInflater.java:429) 52 at android.view.LayoutInflater.inflate(LayoutInflater.java:380) 53 at com.lemon.upgrade.handler.DefaultUpgradeDialog.onCreateView(DefaultUpgradeDialog.java:69) 54 at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2698) 55 at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:320) 56 at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1187) 57 at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1356) 58 at androidx.fragment.app.FragmentManager.moveFragmentToExpectedState(FragmentManager.java:1434) 59 at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1497) 60 at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:447) 61 at androidx.fragment.app.FragmentManager.executeOps(FragmentManager.java:2169) 62 at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1992) 63 at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1947) 64 at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1849) 65 at androidx.fragment.app.FragmentManager$4.run(FragmentManager.java:413) 66 at android.os.Handler.handleCallback(Handler.java:873) 67 at android.os.Handler.dispatchMessage(Handler.java:99) 68 at android.os.Looper.loop(Looper.java:224) 69 ... skip -12 lines 70 at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1356) 71 at androidx.fragment.app.FragmentManager.moveFragmentToExpectedState(FragmentManager.java:1434) 72 at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1497) 73 at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:447) 74 at androidx.fragment.app.FragmentManager.executeOps(FragmentManager.java:2169) 75 at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1992) 76 at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1947) 77 at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1849) 78 at androidx.fragment.app.FragmentManager$4.run(FragmentManager.java:413) 79 at android.os.Handler.handleCallback(Handler.java:873) 80 at android.os.Handler.dispatchMessage(Handler.java:99) 81 at android.os.Looper.loop(Looper.java:224) 82 at android.app.ActivityThread.main(ActivityThread.java:7085) 83 at java.lang.reflect.Method.invoke(Method.java) 84 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604) 85 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:928)