resources.ap_ does not exist when compile my android project

前端 未结 28 2747
慢半拍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:42

    I had the same problem and after digging around the different output Eclipse provides discovered that the issue had to do with a malformed 9-patch image.

    I discovered the issue in the Problems output (Alt-Shift-Q then X).

    0 讨论(0)
  • 2020-12-13 06:44

    Delete bin and gen directories from system. Then F5 in eclipse.
    This helped me. Nothing else worked for me.

    0 讨论(0)
  • 2020-12-13 06:45

    Goto file->Properties and change the target to the correct version of android. For me it was 1.5 (from the tutorial on hack-a-day)

    0 讨论(0)
  • 2020-12-13 06:46

    I created an empty text file under C:\Users\me\workspace\project\bin\resources.ap_

    Then Cleaned/Rebuild... that seemed to fix it.

    0 讨论(0)
  • 2020-12-13 06:46

    I faced the same issue. And I fixed it by removing newly added png file. It was not able to generate resources.ap file because of one of my png file in drawable.

    0 讨论(0)
  • 2020-12-13 06:48
    1. Delete bin and gen on filesystem.
    2. Refresh (F5) project in Eclipse.
    0 讨论(0)
提交回复
热议问题