Skip to content

Install platform tools api level 25 #3048 #3083

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup/native-script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ $androidExecutable = [io.path]::combine($env:ANDROID_HOME, "tools", "bin", "sdkm
echo y | cmd /c "$androidExecutable" "platform-tools"
echo y | cmd /c "$androidExecutable" "tools"
echo y | cmd /c "$androidExecutable" "build-tools;25.0.2"
echo y | cmd /c "$androidExecutable" "platforms;android-23"
echo y | cmd /c "$androidExecutable" "platforms;android-25"
echo y | cmd /c "$androidExecutable" "extras;android;m2repository"
echo y | cmd /c "$androidExecutable" "extras;google;m2repository"

Expand Down
4 changes: 2 additions & 2 deletions setup/native-script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def install_environment_variable(name, value)
execute("echo y | #{sdk_manager} \"platform-tools\"", error_msg)
execute("echo y | #{sdk_manager} \"tools\"", error_msg)
execute("echo y | #{sdk_manager} \"build-tools;25.0.2\"", error_msg)
execute("echo y | #{sdk_manager} \"platforms;android-23\"", error_msg)
execute("echo y | #{sdk_manager} \"platforms;android-25\"", error_msg)
execute("echo y | #{sdk_manager} \"extras;android;m2repository\"", error_msg)
execute("echo y | #{sdk_manager} \"extras;google;m2repository\"", error_msg)

Expand All @@ -143,7 +143,7 @@ def install_environment_variable(name, value)
execute("echo y | #{sdk_manager} \"extras;intel;Hardware_Accelerated_Execution_Manager\"", error_msg)
haxm_silent_installer = File.join(ENV["ANDROID_HOME"], "extras", "intel", "Hardware_Accelerated_Execution_Manager", "silent_install.sh")
execute("sudo #{haxm_silent_installer}", "There seem to be some problems with the Android configuration")
execute("echo y | #{sdk_manager} \"system-images;android-23;default;x86\"", error_msg)
execute("echo y | #{sdk_manager} \"system-images;android-25;default;x86\"", error_msg)
else
execute("echo y | #{sdk_manager} \"system-images;android-25;google_apis;armeabi-v7a\"", error_msg)
end
Expand Down