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

后端 未结 19 4387
臣服心动
臣服心动 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:51

    I got an stacktrace similar to yours only when building to Lollipop or Marshmallow, and the solution was to disable Advanved profiling.

    Find it here:

    Run -> Edit Configurations -> Profiling -> Enable advanced profiling

    https://stackoverflow.com/a/58029739/860488

提交回复
热议问题