A failure occurred while executing com.android.build.gradle.internal.tasks

后端 未结 19 4341
臣服心动
臣服心动 2020-12-04 23:27

I am getting this error while I am building APK.

Cause 1: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while          


        
19条回答
  •  离开以前
    2020-12-04 23:50

    I removed this issue by adding the following lines

    add multiDexEnabled true in android>app>build.gradle inside defaultConfig

    add implementation 'com.android.support:multidex:1.0.3' in android>app>build.gradle inside dependencies

提交回复
热议问题