You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
execute("echo y | #{android_executable} update sdk --filter platform-tools --all --no-ui","There seem to be some problems with the Android configuration")
119
-
execute("echo y | #{android_executable} update sdk --filter tools --all --no-ui","There seem to be some problems with the Android configuration")
120
-
execute("echo y | #{android_executable} update sdk --filter android-23 --all --no-ui","There seem to be some problems with the Android configuration")
121
-
execute("echo y | #{android_executable} update sdk --filter build-tools-23.0.2 --all --no-ui","There seem to be some problems with the Android configuration")
122
-
execute("echo y | #{android_executable} update sdk --filter extra-android-m2repository --all --no-ui","There seem to be some problems with the Android configuration")
120
+
execute("echo y | #{android_executable} update sdk --filter platform-tools --all --no-ui",error_msg)
121
+
execute("echo y | #{android_executable} update sdk --filter tools --all --no-ui",error_msg)
122
+
execute("echo y | #{android_executable} update sdk --filter android-23 --all --no-ui",error_msg)
123
+
execute("echo y | #{android_executable} update sdk --filter build-tools-23.0.2 --all --no-ui",error_msg)
124
+
execute("echo y | #{android_executable} update sdk --filter extra-android-m2repository --all --no-ui",error_msg)
125
+
126
+
puts"Do you want to install Android emulator? (y/n)"
127
+
ifgets.chomp.downcase == "y"
128
+
puts"Do you want to install HAXM (Hardware accelerated Android emulator)? (y/n)"
129
+
ifgets.chomp.downcase == "y"
130
+
execute("echo y | $ANDROID_HOME/tools/android update sdk --filter extra-intel-Hardware_Accelerated_Execution_Manager --all --no-ui",error_msg)
0 commit comments