Android sdk version on gradle and manifest

2019-06-21 17:55发布

问题:

I started using Android Studio a few weeks ago and there's a question I have, in the build.gradle file we can set the minSdkVersion as we can in the manifest, but does one override the other? if we put different values on gradle and on the manifest what is the consequence?

回答1:

The manifest files in your projects are overridden by the gradle when you build your projects.