Android Studio Multiple dex files gradle error

前端 未结 4 1173
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-19 04:03

I get this error when I Run->app for an Android application in Android Studio

UNEXPECTED TOP-LEVEL EXCEPTION:
    com.android.dex.DexException: Multiple dex file         


        
4条回答
  •  梦谈多话
    2021-02-19 04:23

    It seems you can't use both guava and guava-jdk5 in the same project. Guava-jdk5 is still being maintained, so consider changing your project's guava reference to guava-jdk5:

    compile 'com.google.guava:guava-jdk5:17.0'
    

提交回复
热议问题