AndroidStudio3.2报 : Circular dependency between the following tasks 错误

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

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 如何编译运行app 我们要编译运行一个AS工程,只需在AndroidStudio上点击几下按钮就行了。Instan...
    EsonJack阅读 2,099评论 0 5
  • 快捷键Alt+Enter findviewbyid强制转换的快捷键 在输入分号之前,按Alt+Enter...
    开心的小哈阅读 2,540评论 0 2
  • This project was bootstrapped with Create React App. Belo...
    unspecx阅读 5,254评论 0 2
  • 文章来源:https://developer.android.com/studio/run/index.html ...
    梦雨潇湘_e262阅读 728评论 4 0
  • 写给自己 九月参加了写作训练,坚持了一个月,引发了自己一点思考,也想对前面三篇长文做一个小总结。 1. 写作训...
    悟_空_空阅读 191评论 0 0