[英]why am I getting “integer expected” error in the Android manifest?
I think I've asked this before but I can't find the question now, and I don't think I got an answer. 我想我以前曾问过这个问题,但现在找不到问题了,我也没有答案。
In the android manifest on the first line "" 在Android清单的第一行“”
I'm getting an error marker (with a red X). 我收到一个错误标记(带有红色的X)。 When I mouse over the red x it says-
当我将鼠标悬停在红色x上时,它说-
"Manifest attribute 'minSdkVersion' is set to '2.1'. Integer is expected." “清单属性'minSdkVersion'设置为'2.1'。应为整数。”
does anyone know what could be causing this or how I might fix it? 有谁知道这是什么原因或如何解决?
Thanks 谢谢
minSdkVersion should be 7 for 2.1. minSdkVersion对于2.1应为7。
http://developer.android.com/guide/appendix/api-levels.html http://developer.android.com/guide/appendix/api-levels.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.