title: how to use android-support-v7 ActionBar for version 2.2
body: <p>I want to have actionbar in my Android Project using android.support.v7.appcompat; and use it in android 2.2 API Version 8.</p>
  
  <p>I Installed Android support library from SDK Manager, and also added the <strong>android-support-v7-appcompat</strong> from <strong>/extras/android/Compatibility/v7/</strong></p>
  
  <p>but the current version of this project is 4.2 (the last version of SDK I have already downloaded). When I add this project as a reference to my project I get error (my resurce file (R) has error and couldn't use <strong>R.layout.main</strong>)</p>
  
  <p>how can I solve my Problem and use support.v7 ActionBar?</p>