R.java disappears after project clean

前端 未结 30 1995
傲寒
傲寒 2020-11-30 05:37

After I added some .png files into my Project Workspace drawable folder I refreshed my drawable folders in Eclipse and the newly added files showed up. But when I tried to a

30条回答
  •  渐次进展
    2020-11-30 06:22

    Delete your project from workspace witout source deleting and then import it into workspace.

    RightClick on your Project -> Delete /Don't select "Delete project content on disk (cannot be undone)"/ -> Ok

    File -> Import -> General -> Existing Projects into Workspace -> Brouse -> /Look for your workspace(!) folder/ -> Ok -> /your cleaned project will be automatically checked/ -> Finish

提交回复
热议问题