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

com.example.ApiTestcom.example.ApiTest.MyActivity #462

Open
mosentest opened this issue Jul 30, 2020 · 11 comments
Open

com.example.ApiTestcom.example.ApiTest.MyActivity #462

mosentest opened this issue Jul 30, 2020 · 11 comments

Comments

@mosentest
Copy link

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]]

@mosentest
Copy link
Author

Gradle Terrence803 2019/12/14 19:09 1c55e36
给这个大爷改出bug出来,没测试好,就提pr?还给合上去??

@mosentest
Copy link
Author

if (name != null && name.startsWith(".")) {
name = info.activityInfo.packageName + info.activityInfo.name;
}

@mosentest
Copy link
Author

                if (targetComponentName != null && targetComponentName.getClassName().startsWith("")) {
                    targetIntent.setClassName(targetComponentName.getPackageName(), targetComponentName.getPackageName() + targetComponentName.getClassName());
                }

@mosentest
Copy link
Author

                if (targetComponentName != null && targetComponentName.getClassName().startsWith(".")) {
                    targetIntent.setClassName(targetComponentName.getPackageName(), targetComponentName.getPackageName() + targetComponentName.getClassName());
                }

@z16388
Copy link

z16388 commented Aug 19, 2020

多谢老哥,我翻车了这么多天,才看到你这里。非常感谢!

@XuchengJie
Copy link

哈哈,我也是被坑了一星期,以为自己使用的姿势不对。后来对比提交发现了bug。

@qweenhool
Copy link

qweenhool commented Aug 28, 2020

太坑了,简直浪费时间

@mosentest
Copy link
Author

https://github.com/moz1q1/DroidPlugin 用我的吧,我已经pr给作者,但是他没合并,我已经适配9.0和10.设备,给个start

@z16388
Copy link

z16388 commented Aug 28, 2020

https://github.com/moz1q1/DroidPlugin 用我的吧,我已经pr给作者,但是他没合并,我已经适配9.0和10.设备,给个start

请问能兼容带so的apk做插件吗,这个怎么做

@mosentest
Copy link
Author

能正常吧,我具体没测过,可以加我qq来交流

@weithink
Copy link

weithink commented Apr 6, 2021

https://github.com/moz1q1/DroidPlugin 用我的吧,我已经pr给作者,但是他没合并,我已经适配9.0和10.设备,给个start

能正常吧,我具体没测过,可以加我qq来交流

加个qq交流下

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

5 participants