title: Android NewsReader Demo Project Problems
body: <p>I downloaded the android demo newsreader project from <a href="http://developer.android.com/shareables/training/NewsReader.zip" rel="nofollow">here</a> and imported it into eclipse using the Import > Existing Projects Into Workspace.
  I also added the android-support-v4.jar to the build path like it says <a href="http://developer.android.com/resources/samples/newsreader/index.html" rel="nofollow">here</a></p>
  
  <p>The problem I am getting is something to do with accessing resources. here are the errors I get.</p>
  
  <pre><code>Description Resource    Path    Location    Type
  ReaderTutorial/src/com/example/android/newsreader   line 143    Java Problem
  android.app.ActionBar cannot be resolved to a variable  NewsReaderActivity.java     /NewsReaderTutorial/src/com/example/android/newsreader  line 151    Java Problem
  error: Error retrieving parent for item: No resource found that matches the given name 'android:style/Widget.Holo.Light.ActionBar.TabView'. style.xml   /NewsReaderTutorial/res/values-v11  line 23 Android AAPT Problem
  error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light.NoActionBar'.  style.xml   /NewsReaderTutorial/res/values-v11  line 33 Android AAPT Problem
  error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.  style.xml   /NewsReaderTutorial/res/values-v11  line 28 Android AAPT Problem
  error: Error: No resource found that matches the given name: attr 'android:actionBarTabStyle'.  style.xml   /NewsReaderTutorial/res/values-v11  line 30 Android AAPT Problem
  error: Error: No resource found that matches the given name: attr 'android:actionBarTabTextStyle'.  style.xml   /NewsReaderTutorial/res/values-v11  line 29 Android AAPT Problem
  FragmentTransaction cannot be resolved to a type    CompatActionBarNavHandler.java  /NewsReaderTutorial/src/com/example/android/newsreader  line 54 Java Problem
  FragmentTransaction cannot be resolved to a type    CompatActionBarNavHandler.java  /NewsReaderTutorial/src/com/example/android/newsreader  line 76 Java Problem
  FragmentTransaction cannot be resolved to a type    CompatActionBarNavHandler.java  /NewsReaderTutorial/src/com/example/android/newsreader  line 84 Java Problem
  OnNavigationListener cannot be resolved to a type   CompatActionBarNavHandler.java  /NewsReaderTutorial/src/com/example/android/newsreader  line 35 Java Problem
  R cannot be resolved to a variable  ArticleActivity.java    /NewsReaderTutorial/src/com/example/android/newsreader  line 51 Java Problem
  R cannot be resolved to a variable  HeadlinesFragment.java  /NewsReaderTutorial/src/com/example/android/newsreader  line 75 Java Problem
  R cannot be resolved to a variable  NewsReaderActivity.java /NewsReaderTutorial/src/com/example/android/newsreader  line 76 Java Problem
  R cannot be resolved to a variable  NewsReaderActivity.java /NewsReaderTutorial/src/com/example/android/newsreader  line 80 Java Problem
  R cannot be resolved to a variable  NewsReaderActivity.java /NewsReaderTutorial/src/com/example/android/newsreader  line 82 Java Problem
  R cannot be resolved to a variable  NewsReaderActivity.java /NewsReaderTutorial/src/com/example/android/newsreader  line 86 Java Problem
  R cannot be resolved to a variable  NewsReaderActivity.java /NewsReaderTutorial/src/com/example/android/newsreader  line 101    Java Problem
  R cannot be resolved to a variable  NewsReaderActivity.java /NewsReaderTutorial/src/com/example/android/newsreader  line 152    Java Problem
  R cannot be resolved to a variable  NewsReaderActivity.java /NewsReaderTutorial/src/com/example/android/newsreader  line 183    Java Problem
  Tab cannot be resolved to a type    CompatActionBarNavHandler.java  /NewsReaderTutorial/src/com/example/android/newsreader  line 54 Java Problem
  Tab cannot be resolved to a type    CompatActionBarNavHandler.java  /NewsReaderTutorial/src/com/example/android/newsreader  line 76 Java Problem
  Tab cannot be resolved to a type    CompatActionBarNavHandler.java  /NewsReaderTutorial/src/com/example/android/newsreader  line 84 Java Problem
  TabListener cannot be resolved to a type    CompatActionBarNavHandler.java  /NewsReaderTutorial/src/com/example/android/newsreader  line 35 Java Problem
  The import android.app.ActionBar cannot be resolved CompatActionBarNavHandler.java  /NewsReaderTutorial/src/com/example/android/newsreader  line 19 Java Problem
  The import android.app.ActionBar cannot be resolved CompatActionBarNavHandler.java  /NewsReaderTutorial/src/com/example/android/newsreader  line 20 Java Problem
  The import android.app.ActionBar cannot be resolved CompatActionBarNavHandler.java  /NewsReaderTutorial/src/com/example/android/newsreader  line 21 Java Problem
  The import android.app.FragmentTransaction cannot be resolved   CompatActionBarNavHandler.java  /NewsReaderTutorial/src/com/example/android/newsreader  line 22 Java Problem
  The method getActionBar() is undefined for the type NewsReaderActivity  NewsReaderActivity.java /NewsReaderTutorial/src/com/example/android/newsreader  line 137    Java Problem
  The method onNavigationItemSelected(int, long) of type CompatActionBarNavHandler must override or implement a supertype method  CompatActionBarNavHandler.java  /NewsReaderTutorial/src/com/example/android/newsreader  line 65 Java Problem
  </code></pre>
  
  <p>I know it's not a lot to go on but I have been searching around and couldn't find anything as its quite a new demo. </p>
  
  <p>I think it could be that the R.java file is not being generated as I can't find it in my gen directory. I have tried cleaning the project and restarting eclipse but they didnt work.</p>
  
  <p>Any help would be grand.</p>
  
  <p>Disco</p>