FATAL EXCEPTION: main
Process: processing.test.blackwhite, PID: 11515
java.lang.RuntimeException: Unable to start activity ComponentInfo{processing.test.blackwhite/processing.test.blackwhite.Main动态}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
at android.app.动态Thread.performLaunch动态(动态Thread.java:2925)
at android.app.动态Thread.handleLaunch动态(动态Thread.java:3060)
at android.app.servertransaction.Launch动态Item.execute(Launch动态Item.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.动态Thread$H.handleMessage(动态Thread.java:1818)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.动态Thread.main(动态Thread.java:6762)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:843)
at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:806)
at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:702)
at androidx.appcompat.app.AppCompat动态.setContentView(AppCompat动态.java:180)
at processing.test.blackwhite.Main动态.onCreate(Main动态.java:21)
at android.app.动态.performCreate(动态.java:7136)
at android.app.动态.performCreate(动态.java:7127)
at android.app.Instrumentation.call动态OnCreate(Instrumentation.java:1272)
at android.app.动态Thread.performLaunch动态(动态Thread.java:2905)
FATAL EXCEPTION: main
Process: processing.test.blackwhite, PID: 11515
java.lang.RuntimeException: Unable to start activity ComponentInfo{processing.test.blackwhite/processing.test.blackwhite.Main动态}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
at android.app.动态Thread.performLaunch动态(动态Thread.java:2925)
at android.app.动态Thread.handleLaunch动态(动态Thread.java:3060)
at android.app.servertransaction.Launch动态Item.execute(Launch动态Item.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.动态Thread$H.handleMessage(动态Thread.java:1818)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.动态Thread.main(动态Thread.java:6762)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:843)
at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:806)
at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:702)
at androidx.appcompat.app.AppCompat动态.setContentView(AppCompat动态.java:180)
at processing.test.blackwhite.Main动态.onCreate(Main动态.java:21)
at android.app.动态.performCreate(动态.java:7136)
at android.app.动态.performCreate(动态.java:7127)
at android.app.Instrumentation.call动态OnCreate(Instrumentation.java:1272)
at android.app.动态Thread.performLaunch动态(动态Thread.java:2905)