简体   繁体   中英

Eclipse Will Not Generate R.Java In Linux

as stated in the title. I can not get Eclipse to generate an R.java file. It fails immediately after the creation of the project. I have read around and fixes have been stated as such:

  1. Clean Project
  2. fix android project
  3. make sure all res/ files are lower case
  4. make sure xml files are clean and no errors
  5. make sure Build Tools is installed

Well I have tried everything for 3 days now and i can't get anything to work. I have even gone as far as marking every file in my android-sdk as "executable". Nothing works for me. Mind you I have never had this problem on my windows 7 machine. I am fairly new to android development.

I have attached images. First one is a screen shot showing that I do have all build tools and up Second is a Screen shot showing the errors and directory tree within my project. As you can see the only errors output are those that point to R.Java File

edit: I can't upload images so I have provided links to the screenshots within my Google Drive

https://drive.google.com/folderview?id=0B73rHBl5RuotOTUtQURfUTdveW8&usp=sharing

This looks like a duplicate for this one:

"R cannot be resolved to a variable"?

It has been extensively responded.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM