2

I am getting error when I try to run a android application with action bar.

VFY: unable to resolve static field 1538 (ActionBarWindow) in Landroid/support/v7/appcompat/R$styleable;

java.lang.NoClassDefFoundError: android.support.v7.appcompat.R$styleable

Any help or suggestions are appreciated.

Alex Jolig
  • 12,826
  • 19
  • 125
  • 158
bgorkhe
  • 321
  • 3
  • 13
  • This looks like a library import issue. Are your importing the proper version of the support library correctly ? – 2Dee Feb 05 '14 at 23:55
  • I think I imported all the necessary jar library needed. – bgorkhe Feb 06 '14 at 00:05
  • I don't agree with the reason for closing this question. There is enough info to answer it - the approved answer below is exactly what is needed. – Andy Weinstein Jun 05 '14 at 22:14

2 Answers2

2

Are you very sure that u has followed line by line of section Adding libraries with resources of this tutorial?

0

Did you make the activity have the appcompat theme in manifest?

activity android:theme="@style/Theme.AppCompat.Light"
Alex Jolig
  • 12,826
  • 19
  • 125
  • 158