您的位置:首页 > 移动开发

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

2017-01-03 11:23 519 查看


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

Posted on November
11, 2015 by Juned
Mughal


Solve call requires api level android programming project error.




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.



2. Open AndroidManifest.xml file.



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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐