Android Activity Launch

mail@pastecode.io avatar
unknown
java
a month ago
2.7 kB
2
Indexable
Never
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mighty.taxidriver/com.example.flutter_braintree.FlutterBraintreeCustom}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
E/AndroidRuntime(17276): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4031)
E/AndroidRuntime(17276): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4181)
E/AndroidRuntime(17276): 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:114)
E/AndroidRuntime(17276): 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:144)
E/AndroidRuntime(17276): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:101)
E/AndroidRuntime(17276): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2643)
E/AndroidRuntime(17276): 	at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime(17276): 	at android.os.Looper.loopOnce(Looper.java:257)
E/AndroidRuntime(17276): 	at android.os.Looper.loop(Looper.java:368)
E/AndroidRuntime(17276): 	at android.app.ActivityThread.main(ActivityThread.java:8839)
E/AndroidRuntime(17276): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(17276): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)
E/AndroidRuntime(17276): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
E/AndroidRuntime(17276): Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
E/AndroidRuntime(17276): 	at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:926)
E/AndroidRuntime(17276): 	at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:889)
E/AndroidRuntime(17276): 	at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:772)
E/AndroidRuntime(17276): 	at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:197)
E/AndroidRuntime(17276): 	at com.example.flutter_braintree.FlutterBraintreeCustom.onCreate(FlutterBraintreeCustom.java:33)
E/AndroidRuntime(17276): 	at android.app.Activity.performCreate(Activity.java:8757)
E/AndroidRuntime(17276): 	at android.app.Activity.performCreate(Activity.java:8729)
E/AndroidRuntime(17276): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1475)
E/AndroidRuntime(17276): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4005)
E/AndroidRuntime(17276): 	... 12 more
I/Process (17276): Sending signal. PID: 17276 SIG: 9
Lost connection to device.
Leave a Comment