Android Studio中AAPT err: libpng error: Not a PNG file错误
来源:互联网 发布:金十数据解读 编辑:程序博客网 时间:2024/06/04 19:13
今天在AS中导入一个github上的工程,然后报了AAPT err(Facade for 637333088): libpng error: Not a PNG file Error:Execution failed for task ‘:app:mergeDebugResources’.>Some file crunching failed, see logs for details错误
后来找到原因:其中一张图片后缀名为png,但是实际是jpeg格式,所以才会报以上错误。直接上图,如下两图:
第二张图右上角是图片的实际格式为jpeg,而它的名字格式为png,于是报错,将文件修改为jpg格式就ok了。
0 0
- Android Studio中AAPT err: libpng error: Not a PNG file错误
- Android Studio 出现AAPT err(Facade for): libpng error: Not a PNG file 错误解决方案
- Android studio报 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 ): 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
- 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 错误解决
- 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替换图片包错:AAPT err(Facade for ): libpng error: Not a PNG file
- 【Andoid Studio升级】AAPT: libpng error: Not a PNG file
- 出现PNG文件错误的解决方案AAPT err(Facade for 1773557322): libpng error: Not a PNG file
- 出现PNG文件错误的解决方案AAPT err(Facade for 1773557322): libpng error: Not a PNG file
- Android-Universal-Image-Loader三大组件DisplayImageOptions、ImageLoader、ImageLoaderConfiguration详解
- listView加载几百张图片不出现OOM的方法
- Hadoop Hive安装,配置mysql元数据库
- MySQL的删除
- 记Windows下二进制文件查看器
- Android Studio中AAPT err: libpng error: Not a PNG file错误
- 深入解析 Spring MVC的配置文件
- 结构体和类的区别(适合初学者C和C++学习)
- ARC Welder 安装 备忘
- java设计模式之——代理模式
- JAVA环境下的selenium脚本
- Swift下同时创建UITabBarController和UINavigationControlle
- win7下安装sourcetree
- 第6课时《自定义智能指针》