2016-01-22 72 views
0

在导入一个项目,我得到了以下错误:Eclipse中的Android Studio的导入错误

AAPT err(Facade for 3882930): libpng error: Read Error 

FAILED 

FAILURE: Build failed with an exception. 

* What went wrong: 
Execution failed for task ':ProjectName: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 

我试图清理,重建和重新启动还工作室以及我的电脑,但没有运气。谁能帮我?

+0

后全logcat的@Parth Anjaria –

+0

这可能帮助你:HTTP://stackoverflow.com/questions/29026024/errorexecution-failed-for-task-projectnamemergedebugresources-crunching –

+0

@AmitVaghela这是完全相关的日志 –

回答

1

最后我得到一个答案,

我花了一个贴他们的所有图像上https://tinypng.com/和下载优化后的图像。把他们放在他们各自的位置和瞧,错误消失了。

我想图像已经损坏,因为它是一个1岁的项目,我试图导入。

+0

我猜对了一点,这确实是你res文件中的问题......很高兴你解决了它... –