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

Discussion in 'GameMaker Studio 2 Community Tech Support' started by DyadGames, Nov 29, 2018.

  1. DyadGames

    DyadGames Member

    Joined:
    Jul 16, 2016
    Posts:
    30
    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)
    
     
  2. Pano

    Pano Member

    Joined:
    Dec 14, 2016
    Posts:
    76
  3. DyadGames

    DyadGames Member

    Joined:
    Jul 16, 2016
    Posts:
    30
    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
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice