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

不支持androidx吗 #39

Open
helengray opened this issue Apr 23, 2024 · 3 comments
Open

不支持androidx吗 #39

helengray opened this issue Apr 23, 2024 · 3 comments

Comments

@helengray
Copy link
Contributor

java.lang.NoSuchFieldError: No field b of type Landroid/content/Context; in class La/a; or its superclasses (declaration of 'a.a' appears in /data/app/com.yealink.astro.demo-b65DoihcpKR4spxJzVtMhA==/base.apk)
at androidx.activity.ComponentActivity.l(SourceFile:3)
at androidx.activity.ComponentActivity.(SourceFile:104)
at androidx.fragment.app.j.(SourceFile:1)
at d.g.(SourceFile:1)
at com.yealink.astro.demo.MainActivity.(Unknown Source:0)
at java.lang.Class.newInstance(Native Method)
at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:95)
at com.luoyesiqiu.shell.ProxyComponentFactory.instantiateActivity(Unknown Source:81)
at android.app.Instrumentation.newActivity(Instrumentation.java:1264)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3798)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4074)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2473)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:219)
at android.app.ActivityThread.main(ActivityThread.java:8347)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055)

@luoyesiqiu
Copy link
Owner

跟androidX应该没关系

@helengray
Copy link
Contributor Author

app-release.zip
这个是demo app,你看下你那边能不能复现

@luoyesiqiu
Copy link
Owner

晚点试试

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