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

来源:互联网 发布:苹果电脑怎样删除软件 编辑:程序博客网 时间:2024/06/05 18:58

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.

1 0