View requires API level 14 (current min is 8)

1、在书写GridLayout的配置文件的时候出现了View requires API level 14 (current min is 8)错误:

View requires API level 14 (current min is 8)

 

 

2、解决方案

也就是说我们需要将API版本改为14

(1)新建项目的时候注意更改API的版本:

View requires API level 14 (current min is 8)

 

 (2)对XML文件进行配置的时候,会发现错误消失:

View requires API level 14 (current min is 8)

 

View requires API level 14 (current min is 8)

上一篇:C#中RDLC报表中日期显示格式


下一篇:winform关闭登录窗体打开主窗体的方法