Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch 更新后进入apk 报错 #33

Open
mohongwu opened this issue May 21, 2020 · 1 comment
Open

patch 更新后进入apk 报错 #33

mohongwu opened this issue May 21, 2020 · 1 comment

Comments

@mohongwu
Copy link

java.lang.RuntimeException:Unable to start activity ComponentInfo{com.smec.moblie/com.smec.moblie.activity.LoginActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

2 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3303)
3 ......
4 Caused by:
5 java.lang.IllegalStateException:You need to use a Theme.AppCompat theme (or descendant) with this activity.
6 android.support.v7.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java:343)
7 android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:312)
8 android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:277)
9 android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
10 com.smec.moblie.activity.LoginActivity.setContentView(LoginActivity.java:128)
11 com.smec.moblie.activity.BaseActivity.onCreate(BaseActivity.java:71)
12 android.app.Activity.performCreate(Activity.java:7383)
13 android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1218)
14 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3256)
15 android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3411)
16 android.app.ActivityThread.-wrap12(Unknown Source:0)
17 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1994)
18 android.os.Handler.dispatchMessage(Handler.java:108)
19 android.os.Looper.loop(Looper.java:166)
20 android.app.ActivityThread.main(ActivityThread.java:7529)
21 java.lang.reflect.Method.invoke(Native Method)
22 com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
23 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)

@Jamishon
Copy link

Jamishon commented Jul 19, 2023

I met the same problem, did any one solve this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants