
我正在开发一个基于pJsua2库的应用程序.
当我在Oreo下面的任何版本的android上运行项目时,它工作正常,我能够调试应用程序.但当我尝试在我的新手机上调试它有Android版奥利奥时,它给我以下错误
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)我认为这是由于AndroID版本,但我真的需要解决这个问题.
所以,如果有人能提供帮助,我将非常感激最佳答案我实际上遇到了同样的问题,我找到了两种方法来绕过这个,等待有一个真正的解决方案来解决这个问题.
1)禁用即时运行:
– >设置/构建,执行,部署/即时运行(取消选中“启用即时运行”)
要么
2)如果在应用程序级别build.gradle中将其设置为true,则禁用shrinkResources
shrinkResources false我仍然在寻找一种更好的方法来解决这个问题…… 总结
以上是内存溢出为你收集整理的Android项目中的循环依赖全部内容,希望文章能够帮你解决Android项目中的循环依赖所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)