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

配置插件RePlugin.App.attachBaseContext(this);报错 #1056

Open
Guanxxw opened this issue Mar 13, 2023 · 0 comments
Open

配置插件RePlugin.App.attachBaseContext(this);报错 #1056

Guanxxw opened this issue Mar 13, 2023 · 0 comments

Comments

@Guanxxw
Copy link

Guanxxw commented Mar 13, 2023

问题详细描述 Detailed description of the problem

配置插件RePlugin.App.attachBaseContext(this); 时提示java.lang.ExceptionInInitializerError

复现问题步骤 Steps to reproduce the problem

  1. 按照文档配置最后一步时
  2. 运行报错

其它重要信息 Other important information

配置插件RePlugin.App.attachBaseContext(this); 时提示java.lang.ExceptionInInitializerError

replugin-host-lib/gradle Version:提示java.lang.ExceptionInInitializerError
rePlugin-plugin-lib/gradle Version:提示java.lang.ExceptionInInitializerError

Android API Version:api9
Android 手机型号&ROM(Phone model & ROM): 华为p20

Logcat上下文 Logcat context

FATAL EXCEPTION: main
Process: com.qihoo360.replugin.sample.host, PID: 8735
java.lang.ExceptionInInitializerError
at com.qihoo360.replugin.base.IPC.init(IPC.java:60)
at com.qihoo360.replugin.RePlugin$App.attachBaseContext(RePlugin.java:967)
at com.qihoo360.replugin.RePluginApplication.attachBaseContext(RePluginApplication.java:67)
at com.ubtech.sweepingrobot.Myapplication.attachBaseContext(Myapplication.java:22)
at android.app.Application.attach(Application.java:364)
at android.app.Instrumentation.newApplication(Instrumentation.java:1233)
at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1487)
at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1424)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7204)
at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
logfile.log

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

1 participant