Ant?打包Android项目由于指定不用android sdk 工具自动生成的build.xml 文件,就自己网上搜了一堆资料,写了个ant脚本,构建过程出现了一堆错误。下面是其中最让我郁闷的错误, [exec] libpng error: Not a PNG file [exec] ERROR: Failure processing PNG image res\drawable-hdpi\btn_bg_blue.png [exec] libpng error: Not a PNG file [exec] ERROR: Failure processing PNG image res\drawable-hdpi\splash.png [exec] res\layout\common_list_item2.xml:7: error: Error: No resource found that matches the given name (at 'background' with value [email protected]/listitem_selector'). [exec] res\layout\common_list_item2.xml:20: error: Error: No resource found that matches the given name (at 'background' with value [email protected]/cancelbing_btn_selecter'). ....(看到这个错误,理解错了方向,郁闷资源文件怎么没全部打包进去)错误的原因是btn_bg_blue.png与splash.png这两张图片格式不正确。用ps无法打开。解决方法就简单了,只需重新更新这两张图片。。
详细解决方案
Ant 封装Android项目 libpng error: Not a PNG file
热度:265 发布时间:2016-04-29 02:17:48.0
相关解决方案
- java报错Syntax error on token "return" invalid Type解决方案
- The server encountered an internal error () that prevented it from fulfilling th解决方案
- struts2的Action怎么返回指定路径的jsp或html,而不是返回SUCCESS、ERROR
- 'Update Progress' has encountered a problem An internal error has occurred解决方案
- JSP向SQL数据库中写下数据时提示:Network error IOException: Connection refused: connect
- Error creating bean with name 'sessionFactory' defined in ServletContext resourc解决方法
- IE8怎么让input file 的地址框可编辑
- servlet+jquery1.4.2(ajax error?)解决方案
- Parse error in application web.xml,该如何解决
- java itext导出报Connection reset by peer: socket write error,该怎么处理
- Error reading resource: com/user/User.hbm.xml,该怎么解决
- File "/head.jsp" not found解决方法
- tomcat报错: File "/js_list.jsp" not found,该怎么解决
- fatal error; call to a member function query() on a non-object异常求回答啊 php+sqlite
- Error creating bean with name 'sessionFactory' defined in class path resource解决方法
- 大家帮帮忙呀The server encountered an internal error () that prevented it解决方法
- 【100分】怎么监控多台服务器的log,alert,error
- SOS-(奇怪现象)服务器暂不可用500 internal server error,该怎么解决
- 关于在struts2中怎么将.action加入到web.xml中的<welcome-file-list>上 急
- tomcat没法运行Could not publish to the server. Error while expanding
- JSF中javax.faces.el.PropertyNotFoundException: Error getting property的有关问题
- Syntax error on token "{" { expected after this token,该怎么解决
- WEBstruts The server encountered an internal error () that prevented it fr解决思路
- 'Update Progress' has encountered a problem An internal error has occurred解决方案
- object error!
- 关于<welcome-file-list>的疑问。初学者郁闷哦
- ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error,该如何解决
- Syntax error, insert "}" to complete Block,该如何处理
- Response.AddHeader("Content-Disposition" "attachment; filename=" + file.Name+"xls");中文显示乱码解决方法
- error 哪位高手能帮忙解释哈什么有关问题