Unable to merge dex

前端 未结 30 2790
深忆病人
深忆病人 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:12

    1. Enable

      defaultConfig { multiDexEnabled true }

    2. If step 1 doesn't work then

      Go to project structure and find out the external library which is using a different version. Double click on it and delete its jar file. Close the project and open again android studio will rebuild the project. The problem should be gone.

提交回复
热议问题