mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Send y when installing android target, a few text tweaks
This commit is contained in:
@@ -1554,7 +1554,7 @@ _.extend(Android.prototype, {
|
||||
installTarget: function (target) {
|
||||
var self = this;
|
||||
|
||||
var out = self.runAndroidTool(['update', 'sdk', '-t', target, '--all', '-u']);
|
||||
var out = self.runAndroidTool(['update', 'sdk', '-t', target, '--all', '-u'], { stdin: 'y\n' });
|
||||
return false;
|
||||
},
|
||||
|
||||
@@ -1900,7 +1900,9 @@ main.registerCommand({
|
||||
} else {
|
||||
Console.info(Console.fail("Suitable Android API libraries not found"));
|
||||
|
||||
android.installTarget('sys-img-x86-android-19');
|
||||
buildmessage.enterJob({ title: 'Installing Android API library'}, function () {
|
||||
android.installTarget('sys-img-x86-android-19');
|
||||
});
|
||||
}
|
||||
|
||||
var avdName = 'meteor';
|
||||
|
||||
@@ -20,6 +20,7 @@ source "$(dirname "$0")/common_env.sh"
|
||||
cd "$ORIG_DIR"
|
||||
|
||||
install_android_bundle () {
|
||||
echo ""
|
||||
echo "Installing Android development bundle."
|
||||
echo "This might take a while, please hold on."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user