Skip to content Skip to sidebar Skip to footer

Android Speech To Text Works In Emulator But Not On Phone

I'm trying to write a speech to text app for android. Now the app doesn't crash on the emulator, but when I upload it to a samsung galaxy s 1900 I get following error messages in e

Solution 1:

The problem is that you are trying to use ActionBar on device running Android 2.2 (API level 8), but ActionBar was added in API level 11.

So you have basically two options here:

  1. Don't use ActionBar in your app.
  2. Use ActionBarSherlock library, it backports action bar back to Android 2.x (though you still need to make some minor changes in your code, read the docs of ActionBarSherlock for more details).

Post a Comment for "Android Speech To Text Works In Emulator But Not On Phone"