Hi,
I’m building my app with tag <preference name="android-minSdkVersion" value="19" />,
However, the generated apk has sdkVersion:'15'
I’ve looked at my AndroidManifest.xml and I can find <uses-sdk android:minSdkVersion="19" android:targetSdkVersion="25" />
I’ve also tried to build forcing minsdk version from command, like ionic cordova build android --prod --release -- --minSdkVersion=19
but nothing change, the sdkversion is always 15.
I’ve updated my app to ionic 3.7.1 with ionic/app-scripts 3.0.0 but seem that minSdkVersion is still ignored.
Is <preference name="android-minSdkVersion" value="XX" /> an obsolete preference?
How can I set this limit? I cannot find any documentation about it.
I’ve fixed it by changing the minSdkVersion Gradle variable of the plugin cordova-plugin-browsertab, because it overwritten my project Gradle variable.
def minSdkVersion = 16 to def minSdkVersion = 22 of the file BrowserTab.gradle