-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
插件没有继承PluginAppCompatActivity #130
Comments
@Hiram-Y 你好,你这个继承关系实在那儿看的呢?gradle吗? |
@aBenVip AS3.0以上自带了这个功能,能直接查看apk的class ,我也用log的方式打出来,getSuperclass().getSimpleName(),也是继承的AppCompateActivity |
您好,请您先使用RePlugin 2.1.4版本试试(解决了Instant Run的问题)。 如果仍有问题,可以把您的Gradle日志上传上来,同时,也请附上您的插件根目录的build.gradle文件,这样我们可以进一步看看。 |
这个问题, 应该是RxAppCompatActivity 所在class.jar 不存在项目目录结构下导致的,从日志上看gradle 多次设置RxAppCompatActivity 为PluginAppCompatActivity, 这是因为
这个CommonData.getClassPath(ctCls.name)返回为空, 无法写入导致的. |
@jiongxuan @zzz40500 https://github.com/Hiram-Y/TestRePlugin 这个是demo 还是没有替换插件的Activity |
@jiongxuan 好的,持续关注中 |
@jiongxuan @zzz40500 2.1.5版本已经测试成功,没问题了,多谢了! |
You may also want to read our issue guide.
RePlugin version:2.1.2
Android compile SDK version:25
Android ROM:
如果插件中添加 me.tatarka:gradle-retrolambda不会替换activity
The text was updated successfully, but these errors were encountered: