你好傢伙我試圖改變我的離子應用圖標,但我無法做到這一點。每次我改變圖標,並構建我得到這個錯誤更改離子應用圖標
:mergeDebugResourcesAAPT err(Facade for 260808337): libpng error: Not a PNG file
AAPT err(Facade for 698764889): libpng error: Read Error
AAPT err(Facade for 698764889): libpng error: Read Error
AAPT err(Facade for 698764889): libpng error: Read Error
AAPT err(Facade for 698764889): libpng error: Not a PNG file
AAPT err(Facade for 129342802): libpng error: Not a PNG file
AAPT err(Facade for 129342802): libpng error: Read Error
AAPT err(Facade for 129342802): libpng error: Not a PNG file
AAPT err(Facade for 506232339): libpng error: Not a PNG file
AAPT err(Facade for 506232339): libpng error: Read Error
AAPT err(Facade for 370362787): libpng error: Not a PNG file
我從resources/android/icon
改變了所有的文件,並從resources/icon.png
的的icon.png文件,但我不明白爲什麼我會得到這個錯誤。請幫我解決
@ManuValdésyes我按照說明操作。我使用自己的文件替換了'resources/icon.png'和'resources/splash.png'中的文件,並將名稱更改爲resources文件夾已有的名稱,然後運行離子資源。 – Gardezi
@ManuValdés我甚至已將icon.png文件放在android文件夾中,但它仍然拋出上述錯誤 – Gardezi
鏈接已損壞:https://ionicframework.com/docs/native/splash-screen/ – Efren