Android的工作室0.5.9错误code 42 [英] Android Studio 0.5.9 error code 42
问题描述
每次我尝试从Eclipse导入一个项目,我收到这样的错误
错误:执行失败的任务:应用程序:mergeDebugResources。
错误:无法运行命令:
D:\\ Android的\\ SDK \\构建工具\\ 19.1.0 \\ aapt.exe小号-i C:\\项目\\ ZwallU \\程序\\ SRC \\主\\水库\\绘制,华电国际\\ filgoal.png -o C:\\项目\\ ZwallU \\程序\\建立\\水库\\所有\\调试\\绘,华电国际\\ filgoal.png
错误code:
42
输出:
libpng的错误:没有一个PNG文件
块引用>有与日食该文件时没有错..任何人有这个错误的解决方案?
解决方案我觉得你有该文件的问题filgoal.png ...
C:\\项目\\ ZwallU \\程序\\建立\\水库\\所有\\调试\\绘,华电国际\\ filgoal.png
错误code:42输出:libpng的错误:没有一个PNG文件
块引用>用编辑器打开它,并保存为PNG选择。
也许,该文件是在这样一个JPEG另一种格式。Everytime I try to import a project from eclipse I receive Error like that
Error:Execution failed for task ':app:mergeDebugResources'.
Error: Failed to run command: D:\Android\sdk\build-tools\19.1.0\aapt.exe s -i C:\projects\ZwallU\app\src\main\res\drawable-hdpi\filgoal.png -o C:\projects\ZwallU\app\build\res\all\debug\drawable-hdpi\filgoal.png Error Code: 42 Output: libpng error: Not a PNG file
there's nothing wrong when working with this file on eclipse .. anyone has a solution for this error ?
解决方案I think that you have a problem with the file filgoal.png...
C:\projects\ZwallU\app\build\res\all\debug\drawable-hdpi\filgoal.png Error Code: 42 Output: libpng error: Not a PNG file
Open it with a editor and save as with PNG selected. Maybe, the file is in a another format like JPEG.
这篇关于Android的工作室0.5.9错误code 42的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!