安卓报错error: uncompiled PNG file passed as argument. Must be compiled first into .flat file..

安卓报错error: uncompiled PNG file passed as argument. Must be compiled first into .flat file..

报错:

error: uncompiled PNG file passed as argument. Must be compiled first into .flat file..

报错截图:
安卓报错error: uncompiled PNG file passed as argument. Must be compiled first into .flat file..插图

报错原因:(未知)

安卓报错error: uncompiled PNG file passed as argument. Must be compiled first into .flat file..插图(1)

解决方法:

在gradle.properties中加一行配置即可:

android.enableAapt2=false

安卓报错error: uncompiled PNG file passed as argument. Must be compiled first into .flat file..插图(2)

人已赞赏
Python

python如何解析xml【面试题详解】

2020-12-28 21:28:05

安卓

如何快速安装 Oh My WeChat

2020-10-17 15:55:19

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧