Skip to content

Commit dbca4a3

Browse files
vchimevvchimev
vchimev
authored and
vchimev
committed
Update ANDROID_HOME env var
1 parent 09b726c commit dbca4a3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

setup/native-script.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ def install_environment_variable(name, value)
9797

9898
unless ENV["ANDROID_HOME"]
9999
require 'pathname'
100-
# if android-sdk was installed through brew, there should be a symlink in /usr/local/opt/android-sdk pointing to the actual sdk
101-
android_home = "/usr/local/opt/android-sdk"
100+
android_home = "/usr/local/share/android-sdk"
102101
unless Pathname.new(android_home).exist?
103102
require 'mkmf'
104103
# if there's no such symlink then try to find the `android-sdk` directory through the `android` executable

0 commit comments

Comments
 (0)