1. Download our Official Android App: Forums for Android!

Apps R.java File disapears

Discussion in 'Android Development' started by dev.android, Apr 14, 2010.

  1. dev.android

    dev.android Lurker
    Thread Starter
    25

    Apr 14, 2010
    1
    0
    25
    Hello,

    I am a nerw to Android. I am using the Eclipse IDE for the development.

    This has happened to me for the first time.
    When I am building the application in the IDE the R.java file gets disappears and gives me an error the class file where there are any references to the r.id.components.

    Please help
     

    Advertisement

  2. justjimjpc

    justjimjpc Premium Member
    663

    Nov 3, 2008
    10,543
    210
    663
    Washington DC, USA
    Welcome to the AF forums and enjoy your visits !! :cool:

    moving this post to the Dev area ...

     
  3. dmitriyk

    dmitriyk Member
    18

    Apr 17, 2010
    44
    10
    18
    Software Developer
    Salt Lake City, UT
    R.java gets recreated every time you compile. If it starts giving you problems, clean the project by going into the "Project" menu and selecting "Clean."
     

Share This Page

Loading...