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.42k stars 807 forks source link

AS 3.0 编译报错怎么解决? #210

Closed JasonMiss closed 6 years ago

JasonMiss commented 6 years ago

异常类型:编译异常

Robust版本:0.4.71

系统:Windows

堆栈/日志:

AS 3.0 后,每次编译都会出现 Information:Gradle tasks [:app:assembleDebug] Error:Execution failed for task ':app:transformClassesWithExtractJarsForDebug'.

Unexpected scopes found in folder 'F:\test\ScrollImage\app\build\intermediates\transforms\robust\debug'. Required: SUB_PROJECTS. Found: EXTERNAL_LIBRARIES, PROJECT, SUB_PROJECTS Information:BUILD FAILED in 5s

麻烦帮忙看看怎么解决,急!

hedex commented 6 years ago

@JasonMiss 可以看看你的详细log吗?我这边没有报错,麻烦加我qq 514019824

hedex commented 6 years ago

@JasonMiss 可以看看你的详细log吗?我这边试了没有报错,麻烦加我qq 514019824

hedex commented 6 years ago

@JasonMiss 使用gradle命令行编译即可,看起来像是IDE的一个bug

xiaobo0113 commented 6 years ago

Error:Execution failed for task ':app:packageRelease'.

Could not get unknown property 'resourceFile' for task ':app:packageRelease' of type com.android.build.gradle.tasks.PackageApplication.

AS 3.0 + GRADLE 4.1 + GRADLE_PLUGIN 3.0.1

hedex commented 6 years ago

@xiaobo0113 从0.4.71版本应该就已经修复了,请使用最新的版本0.4.72版本试试哈

lifs419 commented 4 years ago

0.4.99 还有问题啊 apply plugin: 'realm-android' 不能放到robust前啊,为什么?