mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-21 08:12:56 +08:00
CB-9880 Fixes platform update failure when upgrading from android@<4.1.0
This commit is contained in:
parent
c1b389ad9b
commit
78fa7374d9
@ -309,7 +309,7 @@ exports.update = function(projectPath, options, events) {
|
||||
|
||||
if (Number(manifest.getMinSdkVersion()) < MIN_SDK_VERSION) {
|
||||
events.emit('verbose', 'Updating minSdkVersion to ' + MIN_SDK_VERSION + ' in AndroidManifest.xml');
|
||||
manifest.setMinSDKVersion(MIN_SDK_VERSION);
|
||||
manifest.setMinSdkVersion(MIN_SDK_VERSION);
|
||||
}
|
||||
|
||||
manifest.setDebuggable(false).write();
|
||||
|
Loading…
Reference in New Issue
Block a user