• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android YYC Build: AAPT err(Facade for 1993636499): libpng error: Not a PNG file FIXED

DyadGames

Member
Getting this error related to compressing the images I guess? Tried broom clean and cleaning all temp folders.. Anyone else get this?

Code:
DoSplash
DoIcon
C:\WINDOWS\system32\cmd.exe /c "subst L: "P:/PetProject_6A956674\Android\default" && L: && cd "com.dyadgames.cookieswirlworld" && "N:/Android\runner\gradle\gradlew" build  assembleRelease  -x lint  "
Starting a Gradle Daemon (subsequent builds will be faster)
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
:com.dyadgames.cookieswirlworld:preBuild UP-TO-DATE
:com.dyadgames.cookieswirlworld:preDebugBuild UP-TO-DATE
:com.dyadgames.cookieswirlworld:checkDebugManifest
:com.dyadgames.cookieswirlworld:preReleaseBuild UP-TO-DATE
:com.dyadgames.cookieswirlworld:prepareAndroidArchCoreRuntime111Library
:com.dyadgames.cookieswirlworld:prepareAndroidArchLifecycleLivedata111Library
:com.dyadgames.cookieswirlworld:prepareAndroidArchLifecycleLivedataCore111Library
:com.dyadgames.cookieswirlworld:prepareAndroidArchLifecycleRuntime111Library
:com.dyadgames.cookieswirlworld:prepareAndroidArchLifecycleViewmodel111Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportAsynclayoutinflater2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportCoordinatorlayout2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportCursoradapter2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportCustomview2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportDocumentfile2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportDrawerlayout2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportInterpolator2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportLoader2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportLocalbroadcastmanager2800Library
:com.dyadgames.cookieswirlworld:preDebugAndroidTestBuild UP-TO-DATE
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportMultidex101Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportPrint2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportSlidingpanelayout2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportSupportCompat2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportSupportCoreUi2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportSupportCoreUtils2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportSupportFragment2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportSupportMediaCompat2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportSupportV42800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportSwiperefreshlayout2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportVersionedparcelable2800Library
:com.dyadgames.cookieswirlworld:prepareComAndroidSupportViewpager2800Library
:com.dyadgames.cookieswirlworld:prepareDebugDependencies
:com.dyadgames.cookieswirlworld:compileDebugAidl
:com.dyadgames.cookieswirlworld:compileDebugRenderscript
:com.dyadgames.cookieswirlworld:generateDebugBuildConfig
:com.dyadgames.cookieswirlworld:generateDebugResValues
:com.dyadgames.cookieswirlworld:generateDebugResources
AAPT err(Facade for 1993636499): libpng error: Not a PNG file
:com.dyadgames.cookieswirlworld:mergeDebugResources
Error: java.lang.RuntimeException: Some file crunching failed, see logs for details
:com.dyadgames.cookieswirlworld:mergeDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':com.dyadgames.cookieswirlworld:mergeDebugResources'.
> Error: java.lang.RuntimeException: 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: 36.09 secs


C:\WINDOWS\system32\cmd.exe exited with non-zero status (1)
 

DyadGames

Member
Ah It looks like the Android TV image I uploaded under Options-Android-Images was a jpeg instead of a PNG. That Fixed it!

Cheers,
Alex
 
Top