开发者

R.Java not showing up

I've tried everything i can think of and i still can't get the R.java file to show up. It's supposed to be in the "gen" folder in eclipse when i create a new project i believe.

I tried the following:

  1. I went to Project > Clean...

  2. I heard that there might be issues in the xml files, i couldn't find any errors there.

  3. I tried using both android 2.1 and 2.2(my goal is to program in 2.2 but i tried both anyway).

Please help. I've seen a few other questions regarding the same issue on here; i've tried using the suggestions found in the answers to those questions but unfortunately, no luck.

Progress: 1

SOLVED: I found out i was missing Android SDK Platform Tools. If you're having the same problem, make sure you have it installed.

Go to Window > Android Sdk and Avd Manager > Available Packages > Android Repository > Android SDK Platform Tools(the latest version) > Install. Sorry for causing any confusions. I will one-up those who put some effort into helping me. Tha开发者_开发技巧nk you very much for your efforts. :)


Try a right-click on the project and select "Refresh". This usually does the trick for me when "Clean" does not.


you shall find the answer here..tat works for me. just try...

R file is missing android


I have faced the same problem many times untill and unless u wont remove errors from ur

xml file or any java file.

Then clean uo ur project....

Cleaning of project wont work in case there is errors,plz check for the same


if above option not working then try project->built automatically checked then clean project then try to run it

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜