Skip to content Skip to sidebar Skip to footer

Android 2.3.3 Api 10 Action Bar

I'm using android 2.3.3(on eclipse), I would like to add action bar to my project. I've tried to add android support library V7 and got many errors like this: [2013-08-12 16:42:36

Solution 1:

Read this tutorial from Android's official site.Action Bar Android You just need to include android-support-v7-appcompat.jar support jar in your project from your android-sdk-windows\extras\android\support\v7\appcompat\libs path on your disk. Then you can use ActionBar below API 11 in Android.

Official Android Tutorial is here:Action Bar Android Official Sherlock bar was creating issues for me then I got this solution.

Solution 2:

This may help you

Android actionbar how to add supporting library v7 appcompat for Eclipse

or try this one

Solution 3:

There are two ways to go to do ActionBar for Android 2.3.3/API Level 10,

  1. You can use ActionBarCombat which is the support library version of Android; here is a detailed official tutorial http://android-developers.blogspot.com/2013/08/actionbarcompat-and-io-2013-app-source.html
  2. You can use 3rd party library which is ActionBarSherlock, also the usage is here http://actionbarsherlock.com/usage.html

Solution 4:

Try Action Bar Sherlock. From their website:

The library will automatically use the native action bar when appropriate or will automatically wrap a custom implementation around your layouts. This allows you to easily develop an application with an action bar for every version of Android from 2.x and up.

Solution 5:

its because you set project build target below 4.0

try to change ur build target above 4.0

and don;'t worry,, it can run on 2.3.3 too

Post a Comment for "Android 2.3.3 Api 10 Action Bar"