Unable to merge dex

前端 未结 30 3186
深忆病人
深忆病人 2020-11-21 22:14

I have Android Studio Beta. I created a new project with compile my old modules but when I tried launching the app it did not launch with the message:

Error:         


        
30条回答
  •  轮回少年
    2020-11-21 23:04

    If this error appeared for you after including kotlin support, and none of the other solutions work, try changing the kotlin dependency of app module's build.gradle to:

    implementation ("org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version") {
        exclude group: 'org.jetbrains', module: 'annotations'
    }
    

    This works for me on Android Studio 3.0 Beta 6. See this answer for further explanation.

提交回复
热议问题