Error:Execution failed for task ':app:transformClassesWithDexForRelease'. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException
除了 有可能jar檔和dependencies 匯入的套件衝突之外,在defaultConfig加入 「multiDexEnabled true」 即可。
defaultConfig {
applicationId "xxxxxx" minSdkVersion 15 targetSdkVersion 25 versionCode 1 versionName "1.0"
multiDexEnabled true}
沒有留言:
張貼留言