I am learning android using eclipse. I created my first project.
package- com.example.testmobileapp
Min Target Ver - 3.x
Max Target - 5.1
I tried to as much as information I can gather from already asked question but unable to sort this out so finally asking here.
I included android-support-v7-appcompat.jar to resolve error and used AppCompatActivity to extend in my mainActivity class.
And as so many question already been asked to resolve the import android.R; I tried the following ways
- Removed the import android.R statement(which resolved some error) but R cannot be resolved to a type still lingers as it is referenced.
- Deleted BuildConfig.java in gen folder,Clean & Build the project as mentioned at so many places to generate R.java @ this place.<>
- Closed and restarted eclipse(No use)
- I am getting error in values/styles.xml,(please check image reference for error), I tried to correct it using this Can't Find Theme.AppCompat.Light for New Android ActionBar Support, but no luck!
Tried Urls
1. R cannot be resolved - Android, no import android.R; statement
2. import android.R in Eclipse : Why?
3. Developing for Android in Eclipse: R.java not regenerating
Please find the image reference.