Error:Execution failed for task ':app:transformClassesWithDexForDebug'

Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.lang.RuntimeException: Unable to pre-dex 'C:\Users\0\.android\build-cache\5c3aceb033801f65ecf7307d6f5b8e324be71c46\output\jars\classes.jar' to 'C:\android\00\app\build\intermediates\transforms\dex\debug\folders\1000\10\classes_e8d991546d5802aad4932fc16208eebca8daa630'


>gradlew task app:transformClassesWithDexForDebug --stacktrace

Running dex as a separate process.
To run dex in process, the Gradle daemon needs a larger heap.
It currently has 1024 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB.
To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html

Комментариев нет:

Отправить комментарий