I created multiple android projects in android studio and noticed that none of them contain the uses-sdk tag in the manifest file. As far as i can tell from google developers tutorials manifest file needs to have it. i didnt find any explanation of its absence anywhere on the net. Im sure the min sdk that i chose during project creation is being used without error as otherwise i would have to use support library for a number of things like the action bar. i know this is also defined in the build.gradle file but how is there no explanation to be found anywhere on the net?
As far as i can tell from google developers tutorials manifest file needs to have it.
Not when you are using Gradle for Android as your build system, such as when you are using Android Studio. The <uses-sdk> information is held in your app's build.gradle file instead. Your app's actual manifest is generated via a manifest merger process that combines the manifest you wrote, manifests from libraries, and Gradle project settings.
how is there no explanation to be found anywhere on the net?
A search on "uses-sdk" "build.gradle" on a major search engine turns up lots of information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With