Call Requires API level 11 (current min is 8) Android.App.Activity#onCreateView

Call Requires API level 11 (current min is 8) Android.App.Activity#onCreateView

Solve call requires api level android programming project error.

Call Requires API level 11 (current min is 8) Android.App.Activity#onCreateView

The error ” Call Requires API level 11 (current min is 8) Android.App.Activity#onCreateView  ” comes most of android projects at the starting time. Android IDE shows this error because developers are using ” android.support.v7.app.ActionBarActivity ” jar file into android project and this activity file requires minimum api andorid level is api 11. Because ActionBarActivity file have some of features that cannot works properly on minimum android version mobile phone so this application is no use for older mobile phones. Setting up minimum api level restrictions on application’s AndroidManifest.xml file will display a error message before installing this app in older api version mobile phones that ” This application dose not support older android versions from api level 11.” So here is the complete step by step tutorial for Call Requires API level 11 (current min is 8) Android.App.Activity#onCreateView .

Solution of Call Requires API level 11 (current min is 8) Android.App.Activity#onCreateView error in eclipse.

1. Navigate your projects AndroidManifest.xml file.

AndroidManifest-xml file

2. Open AndroidManifest.xml file.

open file in eclipse

3. Find  android:minSdkVersion=”8″ & replace 8 with 11.Like i do in below code.

 android:minSdkVersion=”11″

4. Save the file and your error will be solved automatically after these changes.

阅读更多
个人分类: android
上一篇Eclipse下开发android,The connection to adb is down, and a severe error has occured.提示需要重启adb怎么处理?
下一篇Inflater的作用
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭