Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
366 views
in Technique[技术] by (71.8m points)

android - Error AAPT2 aapt2-4.1.2-6503028-windows Daemon

Whey i build apk in android studio i have got error like this

Execution failed for task ':app:mergeReleaseResources'.

Multiple task action failures occurred: A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-4.1.2-6503028-windows Daemon #57: Daemon startup failed Please check if you installed the Windows Universal C Runtime. This should not happen under normal circumstances, please file an issue if it does. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-4.1.2-6503028-windows Daemon #56: Daemon startup failed Please check if you installed the Windows Universal C Runtime. This should not happen under normal circumstances, please file an issue if it does. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-4.1.2-6503028-windows Daemon #58: Daemon startup failed Please check if you installed the Windows Universal C Runtime. This should not happen under normal circumstances, please file an issue if it does. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-4.1.2-6503028-windows Daemon #59: Daemon startup failed Please check if you installed the Windows Universal C Runtime. This should not happen under normal circumstances, please file an issue if it does. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-4.1.2-6503028-windows Daemon #60: Daemon startup failed Please check if you installed the Windows Universal C Runtime. This should not happen under normal circumstances, please file an issue if it does. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-4.1.2-6503028-windows Daemon #61: Daemon startup failed Please check if you installed the Windows Universal C Runtime. This should not happen under normal circumstances, please file an issue if it does. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-4.1.2-6503028-windows Daemon #62: Daemon startup failed Please check if you installed the Windows Universal C Runtime. This should not happen under normal circumstances, please file an issue if it does. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-4.1.2-6503028-windows Daemon #63: Daemon startup failed Please check if you installed the Windows Universal C Runtime. This should not happen under normal circumstances, please file an issue if it does.

Help me resolve this eroor...

My Gradle is classpath 'com.android.tools.build:gradle:4.1.2'

question from:https://stackoverflow.com/questions/65835596/error-aapt2-aapt2-4-1-2-6503028-windows-daemon

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

This error comes when we update android studio or gradle update.

You can downgrade your gradle version.

  • Go to File->Project-Structure->Project
  • Change Android Gradle Plugin Version to 3.3.2 or the last stable version for you
  • Change the Gradle Version to 4.10.1
  • Click Ok and sync

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...