安卓报错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)

人已赞赏
IOS

IOS开发 gcd产生死锁的原因及解锁的方法【面试题详解】

2020-11-7 17:21:33

安卓

如何快速安装 Oh My WeChat

2020-10-17 15:55:19

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