Send y when installing android target, a few text tweaks

This commit is contained in:
Justin SB
2014-10-02 22:30:04 -07:00
parent 6b417cc493
commit ef46eeb1be
2 changed files with 5 additions and 2 deletions

View File

@@ -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';

View File

@@ -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."