ionic build android failure - Execution failed for task processDebugResources

后端 未结 14 1997
有刺的猬
有刺的猬 2020-12-05 17:55

I am using Mac Yosemite. Getting the following failure on running a build for android platform :

FAILURE: Build failed with an exception.

* What went wrong:         


        
14条回答
  •  时光说笑
    2020-12-05 18:58

    from ionic forum

    It was because of the "ionic resource" service error.

    where run "ionic resource" command, I looked into and checked the /resources/android/splash folder, I clicked and open all of these png files, I found some pictures were broken(which appears as half of it).

    So I replace these broken png files with the "normal" png file(at the same folder), then run "ionic build" command, the error is disappeared.

    https://forum.ionicframework.com/t/ionic-android-build-problem/29131/7?u=bleuscyther

提交回复
热议问题