美文网首页
AndroidStudio3.2报 : Circular dep

AndroidStudio3.2报 : Circular dep

作者: 青青河边踩 | 来源:发表于2019-05-04 13:58 被阅读0次
Circular dependency between the following tasks:
:app:checkManifestChangesDebug
\--- :app:instantRunMainApkResourcesDebug
     \--- :app:transformClassesAndDexWithShrinkResForDebug
          \--- :app:transformDexArchiveWithDexMergerForDebug
               +--- :app:preColdswapDebug
               |    \--- :app:incrementalDebugTasks
               |         +--- :app:transformClassesAndClassesEnhancedWithInstantReloadDexForDebug
               |         |    \--- :app:transformClassesWithInstantRunForDebug
               |         |         \--- :app:checkManifestChangesDebug (*)
               |         \--- :app:transformClassesWithInstantRunForDebug (*)
               \--- :app:transformClassesWithDexBuilderForDebug
                    +--- :app:preColdswapDebug (*)
                    \--- :app:transformClassesWithInstantRunForDebug (*)

(*) - details omitted (listed previously)

解决方法:
进入AndroidStudio 设置页面找到Instant Run 取消 Enable Instant Run to hot swap code 的选中
Setting => Build,Execution,Deployment =>Instant Run

相关文章

网友评论

      本文标题:AndroidStudio3.2报 : Circular dep

      本文链接:https://www.haomeiwen.com/subject/ncpxoqtx.html