把以前的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. Java Day 04

    01 语句 循环结构 嵌套  列的递减 1-5 2-5 3-5// 1-5 1-4 1-3 转义字符 \n 回车 \t 制表符 \b 退格 \r 按下回车键 windows 回车符由 \r \n 组成 ...

  2. iOS常见问题(4)

    一.非ARC内存管理问题. 有些同学在创建项目的时候忘记点ARC了,导致一些成员属性都莫名其妙的释放了.然后出现了一系列莫名其妙的错误. 在滚动UITableView的时候出现野指针错误. 一出现这些 ...

  3. axure7.0 汉化包下载

    下载地址:http://files.cnblogs.com/files/feijian/axure7.0%E4%B8%AD%E6%96%87%E8%AF%AD%E8%A8%80%E6%B1%89%E5 ...

  4. 针对谷歌默认最小字体12px的正确解决方案 (css、html)

    今天晨会,产品要求把以前12px的字体改小一点,我心想这有什么难的,就随口答应了.哪知,改css的时候,谷歌浏览器中font-size小于12px时,字体就不会再缩小了.当时我的第一反应就是会不会是其 ...

  5. threaded模式下,比prefork模式要省资源

    关于nginx + fastcgi + django 2009-03-10 17:14:43 分类: 系统运维 最近用django开发了一套广告投放系统,这套系统其实是一套网络广告联盟系统,包括广告的 ...

  6. ***解决PHP输出多余的空格或换行

    用CI框架写APP后台接口的时候,返回的JSON前面有多余的2哥换行,首先排查的是BOM,结果问题依旧 再就是排查<?php ?> 标签外没有多余的回车.换行,结果发现确实有多余的换行,去 ...

  7. intellij idea 12、13 win8 下 中文输入覆盖的问题(搜狗输入法或者其他输入法)

    最近升级到idea12,发现中文输入存在问题,输入中文的时候会出现空格,并且覆盖后面的字符,这个问题让我很郁闷. 假设idea的安装位置为:D:\Program Files\JetBrains\Int ...

  8. java String 空指针异常

    如下代码中,第8行和第10行均会提示Exception in thread "main" java.lang.NullPointerException. 第12行的写法可行. im ...

  9. PKUSC 模拟赛 day1 下午总结

    下午到了机房之后又困又饿,还要被强行摁着看英文题,简直差评 第一题是NOIP模拟赛的原题,随便模拟就好啦 本人模拟功力太渣不小心打错了个变量,居然调了40多分钟QAQ #include<cstd ...

  10. hadoop 2.2.0的datanode中存储block的多个文件夹的负载均衡问题

    hadoop的分布式文件系统HDFS的存储方式是,将数据分成block,分布式存储在整个hadoop集群的datanode中,每个block默认的大小是64M,这些block文件的具体存储位置是在ha ...