libpng error: Not a PNG file we问题解决
来源:互联网 发布:java命令行执行junit 编辑:程序博客网 时间:2024/06/06 19:49
最近,用AS编译代码时,出现“libpng error: Not a PNG file”,很明显,是图片格式出现了问题。
一。详细错误信息:
AAPT out(1663341075) : No Delegate set : lost message:Done
AAPT err(2005455065): E:\work\......\res\drawable-hdpi\test.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT err(1663341075): libpng error: Not a PNG file
二。错误解决:
1) 方案: 用Image Magick软件对相应的文件进行处理。
Image Magick下载地址:
http://www.imagemagick.org/script/binary-releases.php。
有各个操作系统版本的,在As中进行Android开发,就下载Windows的就行。
下载完成后,安装即可。
2)文件转换命令:
然后,用如下命令进行文件转换:
convert -strip test.png test.png。
再重新编译,OK。
0 0
- libpng error: Not a PNG file we问题解决
- libpng error: Not a PNG file 问题解决
- AAPT: libpng error: Not a PNG file 问题解决
- libpng error: Not a PNG file
- libpng error: Not a PNG file
- libpng error: Not a PNG file
- BUG:libpng error: Not a PNG file
- AAPT err(Facade for 928882516): libpng error: Not a PNG file 问题解决
- Android 关于 libpng error: Not a PNG file 的错误
- 怎么解决libpng error not a png file错误
- 怎么解决libpng error not a png file错误
- android studio 图片错误 libpng error: Not a PNG file
- AAPT err(Facade for ): libpng error: Not a PNG file
- Android libpng error: Not a PNG file错误解决
- app:mergeDebugResources libpng error Not a PNG file解决方法
- [Android]libpng error: Not a PNG file错误解决
- Android libpng error: Not a PNG file错误解决
- Android studio libpng error: Not a PNG file
- 时间复杂度
- 【leetcode】318. Maximum Product of Word Lengths
- lua 编译
- hdu1698 Just a Hook(线段树)
- 【图像处理】NEON编码4 - 左右移位
- libpng error: Not a PNG file we问题解决
- VS2012 obj文件(3D模型)导入 进行渲染 添加光照和文理
- java集合——遗留的集合
- 关于图像对比度【1】——对比度和线性变换
- 第八周 项目三 顺序串算法(4)
- tableView性能优化
- Android帧动画Drawable Animation
- CentOS6.6下配置KMS自动激活服务器虚拟机简化配置
- RenderTexture的使用