didi / DRouter

Android Router Framework
Apache License 2.0
735 stars 93 forks source link

依赖Gradle插件后出现问题 #8

Closed iBingo closed 3 years ago

iBingo commented 3 years ago

不依赖插件直接编译不会出现问题,依赖后一直卡在app:dexBuilderDebug出现Unexpected scopes found in folder 'E:\MikumoDev\AndroidDev\Ostar\app\build\intermediates\transforms\DRouter\debug'. Required: EXTERNAL_LIBRARIES, SUB_PROJECTS. Found: EXTERNAL_LIBRARIES, PROJECT, SUB_PROJECTS

iBingo commented 3 years ago

kotlin 1.5.10 com.android.tools.build:gradle:4.2.1

iBingo commented 3 years ago

好像是要放在所有的插件最后面才能编译成功,我有个ObjectBox的插件在最底下,DRouter插件需要放最底下,不然就会出现上面的问题