我尝试解决这个问题超过5个小时.可能是什么问题呢?
Circular dependency between the following tasks:
:app:checkManifestChangesDevelopDebug
\--- :app:instantRunMainApkResourcesDevelopDebug
\--- :app:transformClassesAndDexWithShrinkResForDevelopDebug
\--- :app:transformDexArchiveWithDexMergerForDevelopDebug
+--- :app:preColdswapDevelopDebug
| \--- :app:incrementalDevelopDebugTasks
| +--- :app:transformClassesAndClassesEnhancedWithInstantReloadDexForDevelopDebug
| | \--- :app:transformClassesWithInstantRunForDevelopDebug
| | \--- :app:checkManifestChangesDevelopDebug (*)
| \--- :app:transformClassesWithInstantRunForDevelopDebug (*)
\--- :app:transformClassesWithDexBuilderForDevelopDebug
+--- :app:preColdswapDevelopDebug (*)
\--- :app:transformClassesWithInstantRunForDevelopDebug (*)
(*) - details omitted (listed previously)
Run Code Online (Sandbox Code Playgroud)
我补充说:
org.gradle.configureondemand =真
但问题仍然存在
build.gradle(模块:app)
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1+'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
apply plugin: 'realm-android'
repositories …Run Code Online (Sandbox Code Playgroud)