HELP! CANNOT EXPORT THE PROJECT TO ANDROID. GIVES AN ERROR MESSAGE!
WHEN I CLICK ON “SEE LOGS”
IT SHOWS:
Error:
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:app:mergeReleaseResources’.
Multiple task action failures occurred:
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource compilation failed
/worker/app-c122ce86-db6a-45a5-a85a-212399632594/platforms/android/app/src/main/res/mipmap-ldpi/ic_launcher.png: AAPT: error: failed to read PNG signature: file does not start with PNG signature.
/worker/app-c122ce86-db6a-45a5-a85a-212399632594/platforms/android/app/src/main/res/mipmap-ldpi/ic_launcher.png: AAPT: error: file failed to compile.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource compilation failed
/worker/app-c122ce86-db6a-45a5-a85a-212399632594/platforms/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: AAPT: error: failed to read PNG signature: file does not start with PNG signature.
/worker/app-c122ce86-db6a-45a5-a85a-212399632594/platforms/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: AAPT: error: file failed to compile.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource compilation failed
/worker/app-c122ce86-db6a-45a5-a85a-212399632594/platforms/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: AAPT: error: failed to read PNG signature: file does not start with PNG signature.
/worker/app-c122ce86-db6a-45a5-a85a-212399632594/platforms/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: AAPT: error: file failed to compile.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource compilation failed
/worker/app-c122ce86-db6a-45a5-a85a-212399632594/platforms/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: AAPT: error: failed to read PNG signature: file does not start with PNG signature.
/worker/app-c122ce86-db6a-45a5-a85a-212399632594/platforms/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: AAPT: error: file failed to compile.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource compilation failed
/worker/app-c122ce86-db6a-45a5-a85a-212399632594/platforms/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: AAPT: error: failed to read PNG signature: file does not start with PNG signature.
/worker/app-c122ce86-db6a-45a5-a85a-212399632594/platforms/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: AAPT: error: file failed to compile.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource compilation failed
/worker/app-c122ce86-db6a-45a5-a85a-212399632594/platforms/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: AAPT: error: failed to read PNG signature: file does not start with PNG signature.
/worker/app-c122ce86-db6a-45a5-a85a-212399632594/platforms/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: AAPT: error: file failed to compile.
-
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 35s
Command failed with exit code 1: /worker/app-c122ce86-db6a-45a5-a85a-212399632594/platforms/android/gradlew cdvBuildRelease -b /worker/app-c122ce86-db6a-45a5-a85a-212399632594/platforms/android/build.gradle
P.S.
WEIGHT OF MY PROJECT IS ABOUT 10 MB.