resources.ap_ does not exist when compile my android project

前端 未结 28 2745
慢半拍i
慢半拍i 2020-12-13 06:01

Compile Error: Error generating final archive: java.io.FileNotFoundException: ..\\bin\\resources.ap_ does not exist.

Compile other simple sample works. Same source f

28条回答
  •  有刺的猬
    2020-12-13 06:51

    I got this problem after the upgrade to Android SDK Tools 15. It was also related to the PNG image as some other replies indicate. After analyzing the Eclipse Console output I found out that the process aapt.exe is crashing while processing of one of the images. More precisely it was in the step labeled as "Including resources from package". To identify the file causing the problem I scanned the Console output, found 3 calls of aapt.exe and each of them I re-ran in the Windows Console. The third one ("aapt.exe package -v -S ...") crashed on one of my PNG files. After I replaced this file (in all supported resolutions) the problem has gone.

提交回复
热议问题