Ale*_*erl 5 android circular-dependency android-studio instant-run
刚刚将Android Studio更新到3.2.1,并且一如既往地存在构建现有项目的问题.
这次是一个循环依赖错误.经过一番研究发现,禁用"即时运行"可以解决此错误,但它是一个有用的功能.
任何人都知道如何解决这个问题并保持启用即时运行?
Circular dependency between the following tasks:
:**checkManifestChangesDebug**
\--- :instantRunMainApkResourcesDebug
\--- :transformClassesAndDexWithShrinkResForDebug
\--- :transformDexArchiveWithDexMergerForDebug
+--- :preColdswapDebug
| \--- :incrementalDebugTasks
| +--- :transformClassesAndClassesEnhancedWithInstantReloadDexForDebug
| | \--- :transformClassesWithInstantRunForDebug
| | \--- :**checkManifestChangesDebug** (*)
| \--- :transformClassesWithInstantRunForDebug (*)
\--- :transformClassesWithDexBuilderForDebug
+--- :preColdswapDebug (*)
\--- :transformClassesWithInstantRunForDebug (*)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
105 次 |
| 最近记录: |