Android : The use of the ActionBarSherlock library

主宰稳场 提交于 2019-12-05 04:49:24

This is a very common question and the answer is relatively simple. Just because you target 4.0 does not mean it will not run on earlier versions. In your manifest you need to add the following:

<uses-sdk
    android:minSdkVersion="7"
    android:targetSdkVersion="14" />

As you can see this effectively says you are targeting API level 14 however the minimum API level supported is 2.1 (update 1).

This is all clearly explained in the documentation on the ABS site. If you wish to know more about the <uses-sdk> tag then visit http://developer.android.com/guide/topics/manifest/uses-sdk-element.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!