android - Magic behind R.java file -
recently have been having quite problems r.java file. have decided backup , delete file see happens.
nothing happened, created empty r.java file , hoped best. eclipse seems figure out file tampered , issues warning:
r.java modified manually! reverting generated version!
and that's there is. tried building manually got no results.
so, have 2 questions:
- what should force eclipse regenerate file
- what happening here? how file created, code generating file?
i appreciate help. usual problem occurred few days before deadline :)
i had problem getting android app compile, seemingly inexplicable errors failure generate r.java.
the problem caused killing android emulator during build. don't that! clue appearance of several left on *.out.xml files.
the solution select project, click project->clean, , manually delete *.out.xml files. click run->run , have successful build.
one more thing: i'm using eclipse. had make sure project selected in package explorer, , not random source file. easy not notice!
Comments
Post a Comment