Inspectopedia Help

Multiple <uses-sdk> elements in the manifest

Multiple <uses-sdk> elements in the manifest

The <uses-sdk> element should appear just once; the tools will not merge the contents of all the elements so if you split up the attributes across multiple elements, only one of them will take effect. To fix this, just merge all the attributes from the various elements into a single <uses-sdk> element.

Issue id: MultipleUsesSdk

https://developer.android.com/guide/topics/manifest/uses-sdk-element.html

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3

Plugin:

Android, 2022.3.1 Beta 2

Last modified: 13 July 2023