30
ไม่สามารถรวม dex
ฉันมี Android Studio Beta ฉันสร้างโครงการใหม่ด้วยการคอมไพล์โมดูลเก่าของฉัน แต่เมื่อฉันลองเปิดแอพมันไม่ได้เปิดขึ้นด้วยข้อความ: Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. com.android.builder.dexing.DexArchiveMergerException: ไม่สามารถรวม dex แต่ฉันไม่รู้วิธีแก้ไขข้อผิดพลาดนี้ ฉัน googled นี้หลายชั่วโมง แต่ไม่ประสบความสำเร็จ ระดับโครงการของฉัน: // 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' // …