2016-01-22 109 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文件中的問題......很高興你解決了它... –