Skip to content

Commit 60f3724

Browse files
authored
Merge pull request #14 from NativeScript/dtopuzov/update-build-tools
chore: update build-tools to 27.0.3
2 parents 8979876 + eeb6bb0 commit 60f3724

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

native-script.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ $androidExecutable = [io.path]::combine($env:ANDROID_HOME, "tools", "bin", "sdkm
156156

157157
Write-Host -ForegroundColor DarkYellow "Setting up Android SDK platform-tools..."
158158
echo y | cmd /c "$androidExecutable" "platform-tools"
159-
Write-Host -ForegroundColor DarkYellow "Setting up Android SDK build-tools;25.0.2..."
160-
echo y | cmd /c "$androidExecutable" "build-tools;25.0.2"
159+
Write-Host -ForegroundColor DarkYellow "Setting up Android SDK build-tools;27.0.3..."
160+
echo y | cmd /c "$androidExecutable" "build-tools;27.0.3"
161161
Write-Host -ForegroundColor DarkYellow "Setting up Android SDK platforms;android-25..."
162162
echo y | cmd /c "$androidExecutable" "platforms;android-25"
163163
Write-Host -ForegroundColor DarkYellow "Setting up Android SDK extras;android;m2repository..."

native-script.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def install_environment_variable(name, value)
146146
sdk_manager = File.join(ENV["ANDROID_HOME"], "tools", "bin", "sdkmanager")
147147
execute("echo y | #{sdk_manager} \"platform-tools\"", error_msg)
148148
execute("echo y | #{sdk_manager} \"tools\"", error_msg)
149-
execute("echo y | #{sdk_manager} \"build-tools;25.0.2\"", error_msg)
149+
execute("echo y | #{sdk_manager} \"build-tools;27.0.3\"", error_msg)
150150
execute("echo y | #{sdk_manager} \"platforms;android-25\"", error_msg)
151151
execute("echo y | #{sdk_manager} \"extras;android;m2repository\"", error_msg)
152152
execute("echo y | #{sdk_manager} \"extras;google;m2repository\"", error_msg)

0 commit comments

Comments
 (0)