美文网首页
Android studio 报错

Android studio 报错

作者: 耳_总 | 来源:发表于2017-11-03 11:06 被阅读26次

Project with path ':mypath' could not be found in root project 'myproject'

不仅要在build.gradle里面配置

dependencies {
    compile fileTree(include: '*.jar', dir: 'libs')
    implementation project(':baselib')
}

还需要在setting.gralde里面配置

include ":"
include ":CordovaLib"
include ":baselib"
  • Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.

java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
这是因为导包重复了,仔细检查重复的包

相关文章

网友评论

      本文标题:Android studio 报错

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