第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

無法合并Dex

無法合并Dex

九州編程 2019-06-06 13:15:37
無法合并Dex我有安卓工作室Beta。我創(chuàng)建了一個(gè)新項(xiàng)目,編譯了我的舊模塊,但是當(dāng)我嘗試啟動(dòng)應(yīng)用程序時(shí),它沒有帶著消息啟動(dòng):Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.com.android.builder.dexing.DexArchiveMergerException:無法合并dex但我不知道怎么解決這個(gè)錯(cuò)誤。我在谷歌上搜索了幾個(gè)小時(shí),但沒有成功。我的項(xiàng)目分級(jí):    // 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 belong         // in the individual module build.gradle files     }}allprojects {     repositories {         jcenter()         google()     }}task clean(type: Delete) {     delete rootProject.buildDir}我的應(yīng)用程序Gradle:    apply plugin: 'com.android.application'android {     compileSdkVersion 26     buildToolsVersion "26.0.1"     defaultConfig {         applicationId "parad0x.sk.onlyforyou"         minSdkVersion 21         targetSdkVersion 26         versionCode 1         versionName "1.0"         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"         multiDexEnabled true     }     buildTypes {         release {             minifyEnabled false             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'         }         debug {         }     }     compileOptions {         targetCompatibility 1.7         sourceCompatibility 1.7     }     packagingOptions {         exclude 'META-INF/LICENSE'         exclude 'META-INF/NOTICE'     }     lintOptions {         checkReleaseBuilds false     }當(dāng)我沒有導(dǎo)入第二個(gè)模塊(解析器)時(shí),應(yīng)用程序沒有在Dex上崩潰,但是當(dāng)模塊沒有被導(dǎo)入時(shí),應(yīng)用程序就不能工作了。*D:d
查看完整描述

3 回答

?
DIEA

TA貢獻(xiàn)1820條經(jīng)驗(yàn) 獲得超2個(gè)贊

當(dāng)我更新時(shí),我也遇到了同樣的問題。com.google.android.gms:play-services:11.2.2com.google.android.gms:play-services:11.4.0..這為我解決了這個(gè)問題:

  1. 打掃,清除
  2. 重建


查看完整回答
反對(duì) 回復(fù) 2019-06-06
?
慕尼黑8549860

TA貢獻(xiàn)1818條經(jīng)驗(yàn) 獲得超11個(gè)贊

以上我都試過了,但沒有一種方法對(duì)我有幫助,最后,我發(fā)現(xiàn)這是我的工作:

APP/build.gradle:

android {
    defaultConfig {
       multiDexEnabled true
    }}


查看完整回答
反對(duì) 回復(fù) 2019-06-06
  • 3 回答
  • 0 關(guān)注
  • 567 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)