วิธีแก้ error "A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade"


FAILURE: Build failed with an exception.


* What went wrong:

Execution failed for task ':app:mergeDebugJavaResource'.

> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade

   > com.google.common.base.VerifyException (no error message)


* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.


* Get more help at https://help.gradle.org


BUILD FAILED in 13s

Exception: Gradle task assembleDebug failed with exit code 1

Exited (sigterm)


วิธีแก้

ในไฟล์ gradle.properties


ให้เปลี่ยน 
org.gradle.jvmargs=-Xmx1536m
 
เป็น
org.gradle.jvmargs=-Xmx1536m -Duser.country=US -Duser.language=en


แสดงความคิดเห็น

0 ความคิดเห็น