mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-26 03:53:09 +08:00
parent
854946e313
commit
3c087c6716
1
bin/templates/cordova/Api.js
vendored
1
bin/templates/cordova/Api.js
vendored
@ -244,6 +244,7 @@ Api.prototype.addPlugin = function (plugin, installOptions) {
|
||||
// Skip cleaning prepared files when not invoking via cordova CLI.
|
||||
opts.noPrepare = true;
|
||||
|
||||
if(!(AndroidStudio.isAndroidStudioProject(self.root)))
|
||||
return self.clean(opts);
|
||||
})
|
||||
.then(function () {
|
||||
|
Loading…
Reference in New Issue
Block a user