Libpng error: Read Error

I am getting this error when i build for android -

ionic build android

error -

`AAPT err(Facade for 259068547): libpng error: Read Error

AAPT err(Facade for 1123857185): libpng error: Read Error

AAPT err(Facade for 594029608): libpng error: Read Error

FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':mergeArmv7DebugResources'.

> Some file crunching failed, see logs for details

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 6.193 secs

Error: Error code 1 for command: cmd with args: /s,/c,"f:\D\srcc\proj\platforms\ android\gradlew cdvBuildDebug -b f:\D\srcc\proj\platforms\android\build.gradle - Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"`

How can i find the exact error or solve this issue?

2 Likes