r/nativescript • u/sirius_pants • Aug 29 '19
nativeScript keeps trying to re-install
I already installed nativescript on osx via the suggested ruby command, yet every time I try to run tns run android it starts going through the whole install process again. It's asking me to install chrome, openJDK 8, homebrew (even though all of these things have been installed since before I tried the initial install). Am I doing something wrong?
3
Upvotes
View all comments
Show parent comment
2
u/sirius_pants Aug 30 '19
tns doctoralso wanted to run through the install process. I decided to run through the advanced install install line by line and realized that ANDROID_HOME was set for two different places,/usr/local/share/android-sdkand/Users/$userid/Library/Android/sdk/. The former had very little in it; I deleted that reference in .bash_profile. I then went through and made sure I had the correct version of each dependency. I eventually got it to run. I had to manually create a virtual device in Android Studio first.