DroidPluginTeam / DroidPlugin

A plugin framework on android,Run any third-party apk without installation, modification or repackage
http://droidpluginteam.github.io/DroidPlugin/
GNU Lesser General Public License v3.0
6.88k stars 2.53k forks source link

适配Android P空工程插件打开失败 #454

Open IFLYmingchen7 opened 4 years ago

IFLYmingchen7 commented 4 years ago

报错日志如下: 03-21 04:55:43.588 1765 1765 E Instrumentation: Uninitialized ActivityThread, likely app-created Instrumentation, disabling AppComponentFactory 03-21 04:55:43.588 1765 1765 E Instrumentation: java.lang.Throwable 03-21 04:55:43.588 1765 1765 E Instrumentation: at android.app.Instrumentation.getFactory(Instrumentation.java:1224) 03-21 04:55:43.588 1765 1765 E Instrumentation: at android.app.Instrumentation.newActivity(Instrumentation.java:1215) 03-21 04:55:43.588 1765 1765 E Instrumentation: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2832) 03-21 04:55:43.588 1765 1765 E Instrumentation: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3049) 03-21 04:55:43.588 1765 1765 E Instrumentation: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78) 03-21 04:55:43.588 1765 1765 E Instrumentation: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) 03-21 04:55:43.588 1765 1765 E Instrumentation: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) 03-21 04:55:43.588 1765 1765 E Instrumentation: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1809) 03-21 04:55:43.588 1765 1765 E Instrumentation: at android.os.Handler.dispatchMessage(Handler.java:106) 03-21 04:55:43.588 1765 1765 E Instrumentation: at android.os.Looper.loop(Looper.java:193) 03-21 04:55:43.588 1765 1765 E Instrumentation: at android.app.ActivityThread.main(ActivityThread.java:6680) 03-21 04:55:43.588 1765 1765 E Instrumentation: at java.lang.reflect.Method.invoke(Native Method) 03-21 04:55:43.588 1765 1765 E Instrumentation: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) 03-21 04:55:43.588 1765 1765 E Instrumentation: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Instrumentation的hook出现了问题。