Android Studio:libpng warning: iCCP: Not recognizing known sRGB profile that has been edited解决办法
把以前的eclipse的项目导入Android Studio中,Build项目的时候,出现了一堆错误。
如下:
AAPT err(Facade for 1944774242): ERROR: 9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\call_locate_blue.9.png malformed.
AAPT err(Facade for 1944774242): Frame pixels must be either solid or transparent (not intermediate alphas).
AAPT err(Facade for 1944774242): Found at pixel #31 along top edge.
AAPT err(Facade for 1944774242): ERROR: 9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\call_locate_orange.9.png malformed.
AAPT err(Facade for 1944774242): Frame pixels must be either solid or transparent (not intermediate alphas).
AAPT err(Facade for 1944774242): Found at pixel #31 along top edge.
AAPT err(Facade for 867322671): ERROR: 9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\call_locate_white.9.png malformed.
AAPT err(Facade for 867322671): Frame pixels must be either solid or transparent (not intermediate alphas).
AAPT err(Facade for 867322671): Found at pixel #31 along top edge.
AAPT err(Facade for 867322671): ERROR: 9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\call_locate_gray.9.png malformed.
AAPT err(Facade for 867322671): Frame pixels must be either solid or transparent (not intermediate alphas).
AAPT err(Facade for 867322671): Found at pixel #31 along top edge.
AAPT err(Facade for 2079374597): ERROR: 9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\call_locate_green.9.png malformed.
AAPT err(Facade for 2079374597): Frame pixels must be either solid or transparent (not intermediate alphas).
AAPT err(Facade for 2079374597): Found at pixel #31 along top edge.
AAPT err(Facade for 2079374597): ERROR: 9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\btn_green_normal.9.png malformed.
AAPT err(Facade for 2079374597): Frame pixels must be either solid or transparent (not intermediate alphas).
AAPT err(Facade for 2079374597): Found at pixel #4 along top edge.
AAPT err(Facade for 2079374597): ERROR: 9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\btn_green_pressed.9.png malformed.
AAPT err(Facade for 2079374597): Frame pixels must be either solid or transparent (not intermediate alphas).
AAPT err(Facade for 2079374597): Found at pixel #3 along top edge.
AAPT err(Facade for 95357972): D:\workspace_training\MobileSafe\res\drawable-hdpi\launcher_bg.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited FAILED FAILURE: Build failed with an exception. * What went wrong:
Execution failed for task ':mergeDebugResources'.
> Some file crunching failed, see logs for details * Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED
还有:
AAPT err(Facade for 1104684076): ERROR: 9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\call_locate_blue.9.png malformed.
AAPT err(Facade for 1104684076): Can't have more than one marked region along edge.
AAPT err(Facade for 1104684076): Found at pixel #27 along right edge.
Error:Execution failed for task ':mergeDebugResources'.
还有:
AAPT err(Facade for 2056444966): D:\workspace_training\MobileSafe\res\drawable-hdpi\launcher_bg.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
还有:
AAPT err(Facade for 1944774242): ERROR: 9-patch image D:\workspace_training\MobileSafe\res\drawable-hdpi\call_locate_blue.9.png malformed. AAPT err(Facade for 1077057583): No marked region found along edge. AAPT err(Facade for 48998001): Can't have more than one marked region along edge.
这些问题都是因为drawable中的图片问题引起的。.9图需要重新做下。
制作.9图参考:http://blog.csdn.net/pugongying1988/article/details/6938972
Android Studio:libpng warning: iCCP: Not recognizing known sRGB profile that has been edited解决办法的更多相关文章
- 【Xamarin报错】libpng warning : iCCP: Not recognizing known sRGB profile that has been edited
报错: Xamarin Android 编译时发生以下错误: libpng warning : iCCP: Not recognizing known sRGB profile that has be ...
- android studio问题-ICCP:Not recognizing known sRGB profile
转:http://my.oschina.net/1pei/blog/479162 PNG格式:每个PNG文件是由一个PNG标识(signature),后面跟一些数据块(chunk),每个chunk由 ...
- AS问题解决系列3—iCCP: Not recognizing known sRGB profile
http://my.oschina.net/1pei/blog/479162 摘要 本文解决了Android Studio 1.2.2下编译期间出现的libpng warning: iCCP: Not ...
- This version of android studio is incompatible with the gradle version used.Try disabling the instant run解决办法
今天打开android studio又碰到一个奇怪的问题:This version of android studio is incompatible with the gradle version ...
- Android Studio创建/打开项目时一直处于Building“project name”Gradle project info的解决办法
重新安装了Android studio 之后, 启动android studio,打开原来的项目,界面一直停留在: 一直停留在此界面的原因是:Android studio 在下载 Gradle ,但是 ...
- android studio中方法和类被调用多次,但是AS显示灰色,解决办法
Android Studio里面的一些类及方法,明明有被其他的类或者方法调用,但是去看的时候显示灰色,鼠标放上面的时候显示:Class ‘XXX’ is never used或者Method ‘XXX ...
- libpng warning:iCCP:known incorrect sRGB profile
原因是新版的libpng增强了检查,发出警告.此警告可以忽略.若要消除此警告则要使用v4的色彩配置.GIMP sRGB v4 色彩配置,修改当前图片的色彩配置,设为默认. sRGB profilesO ...
- Android Studio 创建/打开项目时一直处于Building“project name”Gradle project info 的解决
最近发现新版的AS,IDEA毛病不断,而且gradle的更新又给墙了,无奈啊! 进入类似如下的目录,发现如果没有对应的gradle解压文件,则在gradle官网下载完整压缩包,放入类似55xxxx串号 ...
- libpng warning: iCCP: known incorrect sRGB profile告警处理
在 qt中加载某些 png图片会出现:libpng warning: iCCP: known incorrect sRGB profile 告警信息. 虽然没什么影响,但是总看到这个警告非常的不舒 ...
随机推荐
- iOS 进阶 第十一天(0411)
0411 UItaBbar的结构 每一个数组都有一个方法,那就是下面这个,如下图所示: 如果想看系统控件是怎么构成的,那么就采用遍历其子控件的方式来做,如上一图中所示 在iOS7及其以后的系统里,控制 ...
- TCP相关知识
1. TCP与TCP/IP协议族 TCP是TCP/IP协议族中运输层的一个协议.TCP/IP,即传输控制协议/网间协议,是一个工业标准的协议集,包含了运输层.网络层和链路层的协议,其结构如下图所示:其 ...
- 使用OPTIMIZE TABLE命令来整理表碎片实践
操作环境:ubuntu 14.10 mysql 5.6.25 对含有BLOB或TEXT字段的表,若经常做修改或删除类的操作,需要定期执行OPTIMIZE TABLE命令来整理碎片. 1.creat ...
- CSDN——【低调的草原狼】——Ext4.2学习目录整理
最近在研究ExtJS,发现CSDN中有个博客中一系列文档非常优秀,但是没有对目录进行整理,在此稍作整理,也为以后自己研究打下一个基础: 原文作者:低调的草原狼 目录: 1.ExtJS4.2学习 ...
- Java多线程——<二>将任务交给线程,线程声明及启动
一.任务和线程 <thinking in java>中专门有一小节中对线程和任务两个概念进行了具体的区分,这也恰好说明任务和线程是有区别的. 正如前文所提到的,任务只是一段代码,一段要达成 ...
- 6 个基于 jQuery 的表单向导插件推荐
表单向导可以很好地引导用户进行一步一步的操作,从而降低用户错误输入的几率.尽管互联网中有大量的类似插件,但真正好用的不多. 本文整理了6个比较优秀的表单向导插件,希望能够为你带来帮助. 1. Smar ...
- NData BUG 记录
一.collection 如果设计如下页面 页面模型如下 using UnityEngine; using System.Collections; using System.Collections.G ...
- POJ 2106 Boolean Expressions (布尔表达式求值)
题意:关于!,&,| 的运算,表达式中V代表true,F代表false. 思路:见代码吧,很详细了. 要注意 !!!F,!(...) 的情况. #include <iostream> ...
- autocomplete参数说明以及实例
JQuery autocomplete使用手册 Jquery autocomplete是一个很强大的类似google suggest的自动提示插件.它几乎可以满足我们所有的需要. 官方网站:http: ...
- 1051 Wooden Sticks
Wooden Sticks Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Tot ...