30
无法合并dex
我有Android Studio Beta。我用旧模块编译了一个新项目,但是当我尝试启动该应用程序时,它并没有显示以下消息: Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. com.android.builder.dexing.DexArchiveMergerException:无法合并dex 但是我不知道如何解决这个错误。我用谷歌搜索了几个小时,但没有成功。 我的项目gradle: // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { jcenter() google() } dependencies { classpath 'com.android.tools.build:gradle:3.0.0-beta6' classpath "io.realm:realm-gradle-plugin:3.7.1" classpath 'com.google.gms:google-services:3.1.0' // NOTE: Do not place your application dependencies here; they …