java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xiaomi.account/com.xiaomi.account.ui.AccountSettingsActivity}: java.lang.IllegalStateException: You need to use a miui theme (or descendant) with this activity.
at android.app.ActivityThread.performLaunchActivity(
ActivityThread.java:2817)
at android.app.ActivityThread.handleLaunchActivity(
ActivityThread.java:2895)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(
ActivityThread.java:1616)
at android.os.Handler.dispatchMessage(
Handler.java:106)
at android.os.Looper.loop(
Looper.java:176)
at android.app.ActivityThread.main(
ActivityThread.java:6651)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$
MethodAndArgsCaller.run(
RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(
ZygoteInit.java:824)
Caused by: java.lang.IllegalStateException: You need to use a miui theme (or descendant) with this activity.
at com.miui.internal.app.ActivityDelegate.installSubDecor(SourceFile:175)
at com.miui.internal.app.ActivityDelegate.onCreate(SourceFile:129)
at miui.app.Activity.onCreate(SourceFile:48)
at com.xiaomi.account.ui.AccountSettingsActivity.onCreate(Unknown Source:7)
at android.app.Activity.performCreate(
Activity.java:7088)
at android.app.Activity.performCreate(
Activity.java:7079)
at android.app.Instrumentation.callActivityOnCreate(
Instrumentation.java:1215)
at android.app.ActivityThread.performLaunchActivity(
ActivityThread.java:2770)
... 9 more