I've imported a project from Eclipse
to Android Studio
, but it has no reference to the old R
.
I've imported a project from Eclipse
to Android Studio
, but it has no reference to the old R
.
Perform the following steps:
NON ANDROID STUDIO PROJECT;
One of the possible causes is some syntactic problem in one of your XML.
Remember that the R.java file is a file generated to allow your Java code to reference XML elements. When there is a problem in XML, the R file can not be generated and therefore can not be imported.