didi / VirtualAPK

A powerful and lightweight plugin framework for Android
Apache License 2.0
8.98k stars 1.52k forks source link

databinding问题:找不到依赖module的R.xxx #349

Open NMNET opened 5 years ago

NMNET commented 5 years ago

环境: android studio :3.5 com.android.tools.build:gradle : 3.1.0 gradle :4.6

问题描述: 插件项目pluginModule依赖库项目libModule。 pluginModule生成插件包时会编译错误,libModule生成的ViewDataBinding类中报libModule的R.xxx找不到。

不知道有没有描述清楚,希望知道解决办法的朋友指导一下,感谢,

duoduo4 commented 5 years ago

源码BUG

beyondxia commented 5 years ago

遇到同样的问题,亟待解决。。。。

beyondxia commented 5 years ago

BUG

virtualapk bug吗? 有没有什么解决方案啊

liruixing commented 4 years ago

你这个gradle环境能跑起来?不会报错?

duoduo4 commented 4 years ago

可以的,我修改了源代码

------------------ 原始邮件 ------------------ 发件人: "liruixing"<notifications@github.com>; 发送时间: 2019年10月22日(星期二) 下午5:07 收件人: "didi/VirtualAPK"<VirtualAPK@noreply.github.com>; 抄送: "蹲在墙角吃馒头"<190897892@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [didi/VirtualAPK] databinding问题:找不到依赖module的R.xxx (#349)

你这个gradle环境能跑起来?不会报错?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.