Unable to execute dex: Multiple dex files define Lbolts/AggregateException

前端 未结 4 1304
故里飘歌
故里飘歌 2020-12-14 02:32

I do know Multiple dex problems have been reported a lot of times before, but none of the solutions seems to work in my case.

Console:

    Unable to          


        
4条回答
  •  余生分开走
    2020-12-14 03:29

    i encountered this recently on my react native project, you can go to your android folder of your project . and in terminal hit this command "./gradlew app:dependencies" to see dependencies tree. i found two package for android bolts under facebook sdk . if you exclude this package from facebook sdk things will work fine again

    compile ('com.facebook.react:react-native:+') {
       exclude group: 'com.parse.bolts', module: 'bolts-tasks'
    }
    

提交回复
热议问题