如何解决“警告:应用程序没有指定API级别的需求”?

时间:2022-09-04 10:05:55

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上,请帮忙。! ! ! !如果我能找到正确的解决方案,我会很感激。

1 个解决方案

#1


22  

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.

到AndroidManifest.xml中的manifest标签。用希望支持的最小SDK版本数替换4。

#1


22  

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.

到AndroidManifest.xml中的manifest标签。用希望支持的最小SDK版本数替换4。