Android项目在Eclipse上运行正常,在AS上出错解决办法(AAPT err(Facade for 1867654195): libpng error: Not a PNG file)
来源:互联网 发布:手机霓虹灯软件 编辑:程序博客网 时间:2024/06/05 09:55
运行错误提示:
AAPT err(Facade for 1867654195): libpng error: Not a PNG file
> Crunching Cruncher send_music_thumb_backup.png failed, see logs
原因可能是 UI给了你一个名叫.png的图,但它并不是png,eclipse 不会检查这么仔细,所以不会提示错误。
解决办法:
在你的主工程文件夹里的build.gradle文件里,加上下面这两句:
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
clean或者同步一下即可。
6 0
- Android项目在Eclipse上运行正常,在AS上出错解决办法(AAPT err(Facade for 1867654195): libpng error: Not a PNG file)
- Android项目在Eclipse上运行正常,在AS上出错解决办法(AAPT err(Facade for 1867654195): libpng error: Not a PNG file)
- Android项目在Eclipse上运行正常,在AS上出错解决办法(AAPT err(Facade for 1867654195): libpng error: Not a PNG file)
- AAPT err(Facade for ): libpng error: Not a PNG file
- AAPT err(Facade for): libpng error: Not a PNG file
- AAPT err(Facade for): libpng error: Not a PNG file
- Android Studio 出现AAPT err(Facade for): libpng error: Not a PNG file 错误解决方案
- android替换图片包错:AAPT err(Facade for ): libpng error: Not a PNG file
- Android studio报 AAPT err(Facade for): libpng error: Not a PNG file 错误
- AAPT err(Facade for 1191041091) : No Delegate set : lost message:libpng error: Not a PNG file
- 错误:AAPT err(Facade for ): libpng error: Not a PNG file
- AAPT err(Facade for): libpng error: Not a PNG file 错误解决
- AAPT err(Facade for 1660295362): libpng error: Not a PNG file
- AAPT err(Facade for 1224284530): libpng error: Not a PNG file
- AAPT err(Facade for): libpng error: Not a PNG file 错误解决
- AAPT err(Facade for): libpng error: Not a PNG file 错误解决
- AAPT err(Facade for 2093282576): libpng error: Not a PNG file
- AAPT err(Facade for 1415341631): libpng error: Not a PNG file
- 移动应用崩溃收集
- 应用系统常用性能指标
- 基于LibYaml函数库的twemproxy配置文件解析和修改
- lucene(一) lucene一些概念的理解
- (java)Best Time to Buy and Sell Stock系列
- Android项目在Eclipse上运行正常,在AS上出错解决办法(AAPT err(Facade for 1867654195): libpng error: Not a PNG file)
- spring构造方法注入
- 动态规划 ——problem k
- mysql数据库性能优化(包括SQL,表结构,索引,缓存)
- fdisk
- String、StringBuilder和StringBuffer的区别和应用场景
- CSS3 calc()制作自适应布局
- Linux下,用单链表编写图书管理系统
- GCD和NSOperation对比