DroidPlugin
DroidPlugin copied to clipboard
com.example.ApiTestcom.example.ApiTest.MyActivity
Unable to instantiate activity ComponentInfo{com.example.ApiTest/com.example.ApiTestcom.example.ApiTest.MyActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.ApiTestcom.example.ApiTest.MyActivity" on path: DexPathList[[zip file "/data/user/0/com.example.TestPlugin/Plugin/com.example.ApiTest/apk/base-1.apk"],nativeLibraryDirectories=[/data/user/0/com.example.TestPlugin/Plugin/com.example.ApiTest/lib, /system/lib64, /vendor/lib64]]
Gradle Terrence803 2019/12/14 19:09 1c55e364 给这个大爷改出bug出来,没测试好,就提pr?还给合上去??
if (name != null && name.startsWith(".")) { name = info.activityInfo.packageName + info.activityInfo.name; }
if (targetComponentName != null && targetComponentName.getClassName().startsWith("")) {
targetIntent.setClassName(targetComponentName.getPackageName(), targetComponentName.getPackageName() + targetComponentName.getClassName());
}
if (targetComponentName != null && targetComponentName.getClassName().startsWith(".")) {
targetIntent.setClassName(targetComponentName.getPackageName(), targetComponentName.getPackageName() + targetComponentName.getClassName());
}
多谢老哥,我翻车了这么多天,才看到你这里。非常感谢!
哈哈,我也是被坑了一星期,以为自己使用的姿势不对。后来对比提交发现了bug。
太坑了,简直浪费时间
https://github.com/moz1q1/DroidPlugin 用我的吧,我已经pr给作者,但是他没合并,我已经适配9.0和10.设备,给个start
https://github.com/moz1q1/DroidPlugin 用我的吧,我已经pr给作者,但是他没合并,我已经适配9.0和10.设备,给个start
请问能兼容带so的apk做插件吗,这个怎么做
能正常吧,我具体没测过,可以加我qq来交流
https://github.com/moz1q1/DroidPlugin 用我的吧,我已经pr给作者,但是他没合并,我已经适配9.0和10.设备,给个start
能正常吧,我具体没测过,可以加我qq来交流
加个qq交流下