Upgraded to Android studio 3.4 - Aapt2InternalException: AAPT2: Daemon startup failed

后端 未结 8 719
情深已故
情深已故 2020-11-27 17:42

I got Error in new project while build after i upgraded Android studio to 3.4

Caused by: org.gradle.api.tasks.TaskExecutionException: Execution failed

8条回答
  •  攒了一身酷
    2020-11-27 18:17

    Project level gradle update classpath:

    classpath 'com.android.tools.build:gradle:3.4.0'
    

    gradle-wrapper.properties update distributionUrl:

    distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
    

    After these steps delete .iml file from your project directory and rebuild the project For further detail please see attached image

提交回复
热议问题