android - Eclipse Giving me the R cannot be resolved to a variable error, have tried every fix -


i getting typical "r cannot resolved variable error" have tried feel every "fix" , still can't work. think has many errors getting res folder:

res\values\styles.xml:7: error: error retrieving parent item: no resource found matches given name 'theme.appcompat.light'.

res\values-v11\styles.xml:7: error: error retrieving parent item: no resource found matches given name 'theme.appcompat.light'.

res\values-v14\styles.xml:8: error: error retrieving parent item: no resource found matches given name 'theme.appcompat.light.darkactionbar'.

and many other similar errors xml files in appcombat_v7 folder.

i have tried cleaning project, building project, have updated android sdk tools , adt eclipse newest version, using android 4.4 target of project.

any nice

edit: error: warning: unable write jarlist cache file h:\workspace\appcompat_v7\bin\jarlist.cache , on activity_main.xml in layout folder: project target (android 5.0) not loaded.

delete these files

  • res\values\styles.xml
  • res\values-v11\styles.xml
  • res\values-v14\styles.xml

then in manifest under aplication tag remove line also

    android:theme="yourtheme" 

or alternatively can 1 more thing. add appcompact library project


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -