I have just migrated a project from Exclipse to Android Studio.
The build.gradle file has a section that includes:
defaultConfig {
applicationId "com.example.someone.myapplication"
minSdkVersion 8
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
The same thing is in the uses-sdk element of the AndroidManifest.xml.
When both settings are simultaneously present, which settings are respected?
Also, should I remove them from AndroidManifest.xml? My project must support Api-8 at least. Would it make any difference on old platforms if the uses-sdk section is removed from the manifest file?