Android Studio build error - Multiple dex files define Landroid/support/v4/

前端 未结 11 818
别那么骄傲
别那么骄傲 2020-12-17 08:56

I am unable to build my project in Android Studio. I get the following error:

Error:Android Dex: [RaditazAndroid] Unable to execute DX
Error:Android Dex: [R         


        
11条回答
  •  不思量自难忘°
    2020-12-17 09:30

    In case someone else was having this problem with the Project Tango examples provided via Github, I solved it by commenting the following line out in the app's build.gradle file for those projects which failed to run:

    compile fileTree(dir: external_lib_prefix + '/jar', include: ['**/*.jar'])

提交回复
热议问题