30
Android-エラー:タスク ':app:transformClassesWithDexForRelease'の実行に失敗しました
問題は、debugモードに変更するとアプリを実行できるが、releaseモードに切り替えると失敗することです。 例外: **FAILURE: Build failed with an exception.** > Execution failed for task ':app:transformClassesWithDexForRelease'. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1 私がgradle buildコマンドをstacktraceで実行したとき、これは私が得るものです ./gradlew app:transformClassesWithDexForRelease --stacktrace > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1 *Exception …