Meituan-Dianping / Robust

Robust is an Android HotFix solution with high compatibility and high stability. Robust can fix bugs immediately without a reboot.
Apache License 2.0
4.41k stars 806 forks source link

Required: PROJECT. Found: EXTERNAL_LIBRARIES, PROJECT, SUB_PROJECTS #290

Open dodan100 opened 6 years ago

dodan100 commented 6 years ago

在提交issue之前,我们应该先查询是否已经有相关的issue和ReadMe中的注意事项,比如说Robust在0.3.3版本才支持windows开发。提交issue时,我们需要写明issue的原因,最好可以携带编译或运行过程的日志或者截图。issue最好以下面的格式提出:

异常类型:编译异常

手机型号:如:Nexus 5(如是编译异常,则可以不填)

手机系统版本:Android 8.0 (如是编译异常,则可以不填)

Robust版本:0.4.82

Gradle版本: 3.1.4

系统:Mac

堆栈/日志:

下载的demo再本地能正常打出path.jar。但是集成到项目中就报没有配置这些东西,请问在哪里配置呢?本项目是多个module的。

dodan100 commented 6 years ago

Execution failed for task ':app:transformClassesWithRealmTransformerForRelease'.以上问题是因为和realm不兼容导致的,将realm库依赖去除,才能正常使用robust。请问用realm的哪个版本才不会有这个问题?

mivanzhang commented 5 years ago

realm 插件apply放在robust插件之前

lifs419 commented 3 years ago

最新版本: com.meituan.robust:robust:0.4.99 错误: Required: PROJECT. Found: EXTERNAL_LIBRARIES, PROJECT, SUB_PROJECTS

上楼方案: realm 插件apply放在robust插件之前

apply plugin: 'realm-android' //apply plugin: 'auto-patch-plugin' apply plugin: 'robust'

这样对Robust 修复或补丁有影响吗?

zf617525633 commented 3 years ago

最新版本: com.meituan.robust:robust:0.4.99 错误: Required: PROJECT. Found: EXTERNAL_LIBRARIES, PROJECT, SUB_PROJECTS

上楼方案: realm 插件apply放在robust插件之前

apply plugin: 'realm-android' //apply plugin: 'auto-patch-plugin' apply plugin: 'robust'

这样对Robust 修复或补丁有影响吗?

请问这样可以解决这个问题吗?