Eclipse giving error, missing R.java file after recent update

前端 未结 14 1594
猫巷女王i
猫巷女王i 2020-11-22 10:43

I have updated my SDK and ADT to the latest version, I have also update the Eclipse to Kepler the latest one after

相关标签:
14条回答
  • 2020-11-22 11:13

    if the problem persists then try closing the other projects by

    right click -> close Unrelated projects !

    this worked in my case

    0 讨论(0)
  • 2020-11-22 11:15

    Sometimes when you extract your file it miss some part so better when its extracting make sure all file are extracting properly and then run eclipse after that run a simple file and install plugin of avd it helped in my case

    0 讨论(0)
  • 2020-11-22 11:16

    Try this:

    1. make a backup of your projects on desktop

    2. close eclipse

    3. delete your workspace

    4. restart eclipse and import your projects again.

    0 讨论(0)
  • 2020-11-22 11:17

    For eclipse users: Comment the lines including R.* Clean and build. R.java will be generated and then uncomment the R.* and rebuild.

    0 讨论(0)
  • 2020-11-22 11:20

    the best solution for r.java missing for linux... R.java is self generated in gen folder.. so better dont edit or create manually by urself ..

    -open terminal(alt + ctrl + t) -change directory to skd->tools -then provide executive attribute to all executable file by(sudo chmod +x filename) -do the same for files in sdk->platform tools .. (ie sudo chmod +x filename) .. -----every executable file sud b provided with +x attribute...

    0 讨论(0)
  • 2020-11-22 11:21

    My issue was that I had android:orientation misspelled in my activity_main.xml file and I was getting this error. I fixed the spelling and problem went away! So make sure activity_main.xml doesn't have any errors in it.

    0 讨论(0)
提交回复
热议问题