I have developed an android application using android sdk 4.4(KitKat). My application runs fine on android 4.0 and 4.4 but it crashes on android 2.3 and other versions. I have used android action bar and I have read somewhere that action bars are not supported in previous versions. I can not change this app as I have to hand it over to the client and I am out of time. I am unable to fix it. I need any solution so that it will be available and compatible for atleat 2.3 and above.
Asked
Active
Viewed 193 times
0
-
3you can use AppCompat from the support library – Raghunandan Dec 14 '13 at 19:05
-
@Raghunandan I have tried to add AppCompat but it contains error in style_base.xml and themes_base.xml. what to do ? – Rida Shahid Dec 14 '13 at 20:16
-
how did you reference the AppCompat library – Raghunandan Dec 15 '13 at 04:52
-
[This](http://stackoverflow.com/a/18429959/2556111) may help you to configure AppCompat – ramaral Dec 15 '13 at 18:01
1 Answers
0
You can use ActionBarSherlock as it is compatible to Android 2.X:
http://actionbarsherlock.com/

Flat Eric
- 7,971
- 9
- 36
- 45
-
1It would make more sense to use the v7 support libs. ABS was a good stop gap but now Google have released an official support library for ActionBar it seems better to go with that. – Squonk Dec 14 '13 at 20:01
-
@Flat Eric I have tried to add AppCompat but it contains error in style_base.xml and themes_base.xml. what to do ? – Rida Shahid Dec 14 '13 at 20:17
-
@Rida: I have no experience with AppCompat, that's why I suggested ActionBarSherlock – Flat Eric Dec 14 '13 at 20:28