把以前的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解决办法的更多相关文章

  1. 【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 ...

  2. android studio问题-ICCP:Not recognizing known sRGB profile

    转:http://my.oschina.net/1pei/blog/479162 PNG格式:每个PNG文件是由一个PNG标识(signature),后面跟一些数据块(chunk),每个chunk由 ...

  3. AS问题解决系列3—iCCP: Not recognizing known sRGB profile

    http://my.oschina.net/1pei/blog/479162 摘要 本文解决了Android Studio 1.2.2下编译期间出现的libpng warning: iCCP: Not ...

  4. 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 ...

  5. Android Studio创建/打开项目时一直处于Building“project name”Gradle project info的解决办法

    重新安装了Android studio 之后, 启动android studio,打开原来的项目,界面一直停留在: 一直停留在此界面的原因是:Android studio 在下载 Gradle ,但是 ...

  6. android studio中方法和类被调用多次,但是AS显示灰色,解决办法

    Android Studio里面的一些类及方法,明明有被其他的类或者方法调用,但是去看的时候显示灰色,鼠标放上面的时候显示:Class ‘XXX’ is never used或者Method ‘XXX ...

  7. libpng warning:iCCP:known incorrect sRGB profile

    原因是新版的libpng增强了检查,发出警告.此警告可以忽略.若要消除此警告则要使用v4的色彩配置.GIMP sRGB v4 色彩配置,修改当前图片的色彩配置,设为默认. sRGB profilesO ...

  8. Android Studio 创建/打开项目时一直处于Building“project name”Gradle project info 的解决

    最近发现新版的AS,IDEA毛病不断,而且gradle的更新又给墙了,无奈啊! 进入类似如下的目录,发现如果没有对应的gradle解压文件,则在gradle官网下载完整压缩包,放入类似55xxxx串号 ...

  9. libpng warning: iCCP: known incorrect sRGB profile告警处理

    在 qt中加载某些 png图片会出现:libpng warning: iCCP: known incorrect sRGB profile   告警信息. 虽然没什么影响,但是总看到这个警告非常的不舒 ...

随机推荐

  1. Win8 硬盘100%几个修复方法

    上连接 1.改注册表:http://jingyan.baidu.com/article/e3c78d647f79be3c4c85f5d0.html 2.待续

  2. Wireshark 入门

    1.过滤目的地是百度的IP包. 百度的ip: 命令:ip.src eq 61.135.169.125 过滤ip来源是61.135.169.125 ip.dst eq 61.135.169.125 过滤 ...

  3. Android Studio 单刷《第一行代码》系列 01 —— 第一战 HelloWorld

    前言(Prologue) 本系列将使用 Android Studio 将<第一行代码>(书中讲解案例使用Eclipse)刷一遍,旨在为想入坑 Android 开发,并选择 Android ...

  4. BZOJ 2753 [SCOI2012] 滑雪和时间胶囊 最小生成树

    题目链接: 题目 2753: [SCOI2012]滑雪与时间胶囊 Time Limit: 50 Sec Memory Limit: 128 MB 问题描述 a180285非常喜欢滑雪.他来到一座雪山, ...

  5. IntelliJ IDEA 比较当前版本文件与历史文件

    前言: 写代码修改后怎样比较与历史文件的区别呢?idea提供了2种比较方式(目前笔者所了解到的) 一.SVN的版本比较 二.当前文件与历史版本比较

  6. IIS7.5 自定义Html/shtml/htm...后缀映射

    以添加html后缀的文件的 映射为例: 1.打开iis管理器,点击 2.点击打开处理程序映射 3.添加托管处理程序映射 4.请求路径 *.html 类型: System.Web.UI.PageHand ...

  7. 高性能网络编程2----TCP消息的发送

    转 陶辉 taohui.org.cn 在上一篇中,我们已经建立好的TCP连接,对应着操作系统分配的1个套接字.操作TCP协议发送数据时,面对的是数据流.通常调用诸如send或者write方法来发送数据 ...

  8. 无法将 lambda 表达式 转换为类型“System.Delegate”,因为它不是委托类型

    this.BeginInvoke(() => { this.btnQuery.Enabled = false; //禁用查询 }); 跨线程调用时,编译上面的代码将提示 对于Control.In ...

  9. 如何在winform DataGridView控件的DataGridViewButtonColumn按钮列中禁用按钮

    原文:http://msdn.microsoft.com/en-us/library/ms171619(v=vs.85).ASPX public class DataGridViewDisableBu ...

  10. Hibernate3中将指定的HQL语句转换成SQL语句

    import org.hibernate.engine.SessionFactoryImplementor; import org.hibernate.hql.ast.QueryTranslatorI ...