Is there a way to generate the R.java file in Android Studio? -
i have saved android project long time ago , must work on it.
i've created new project in android studio , i've imported java , xml files inside r.java
file missing.
i guess didn't save original. can recover somehow or generate it?
r.java
quite different in android studio in eclipse. since old project, i'm assuming eclipse. in eclipse, r.java
included in source tree. however, in android studio, hidden away. another stack overflow answer:
1. build
this has complete output of
make
process i.e. classes.dex, compiled classes , resources, etc.in android studio gui, few folders shown. important part your r.java found here under
build/source/<flavor>/r/<build type(optional)>/<package>/r.java
you shouldn't need manually interact r.java
@ all. can re-generated source code. thus, won't have problems -- r.java
auto-generated , well. if isn't, try rebuild of project.
Comments
Post a Comment