Answer the question
In order to leave comments, you need to log in
Android Studio Gen/R.java file
When I create a new project in Android Studio for android 2.3.3 and other earlier versions, the environment does not generate the R.java file. As a result of this, the Cannot resolve symbol 'R' error occurs.
If I create under android 4.4 - there is no such problem.
The environment also complains about some lines in the files:
...\AndroidStudioProjects\MyApplication6\app\build\exploded-aar\com.android.support\appcompat-v7\19.0.1\res\values-v14\values.xml
.. .\AndroidStudioProjects\MyApplication6\app\build\exploded-aar\com.android.support\appcompat-v7\19.0.1\res\values-v11\values.xml
problem lines:
Error:Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'.
Error:(7, 21) No resource found that matches the given name: attr 'android:windowActionBar'.
Error:(7, 21) No resource found that matches the given name: attr 'android:windowActionBar'.
Error:Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.
Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.AutoCompleteTextView'.
Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ProgressBar'.
Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ProgressBar.Horizontal'.
Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.AutoCompleteTextView'.
When I create a project, I choose None in Theme.
I suspect that due to errors in these files, R.java is not created Environment
version 0.5.5, operating system Window 7 x64
What could be the problem?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question