eclipse 如何解决“警告:应用程序未指定 API 级别要求”?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4792880/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
how to resolve "WARNING: Application does not specify an API level requirement"?
提问by Veer
Hello I am writing an android application, but as I do run this application, the following application generates and application doesn't appear on the windows, please help .. !!!! I will appreciate if I get right solution ,,,,,,
您好,我正在编写一个 android 应用程序,但是当我运行该应用程序时,会生成以下应用程序并且该应用程序没有出现在 Windows 上,请帮忙.. !!!! 如果我得到正确的解决方案,我将不胜感激,,,,,,
回答by Axarydax
To resolve this warning add
要解决此警告添加
<uses-sdk android:minSdkVersion="4" />
to the manifest
tag in AndroidManifest.xml
. Replace 4 with the lowest number of SDK version you want to support.
中的manifest
标记AndroidManifest.xml
。将 4 替换为您要支持的最低 SDK 版本号。