Open Jonarod opened 5 years ago
Hey @Jonarod ,
I've checked the error and it is raised when CLI is unable to find the emulator
executable in the Android SDK. The error message is not correct and we'll have to fix it. At the moment, CLI's checks require you to have the emulator
executable installed (no need to have any avd images). We'll revise this logic and think for a better solution in the future. For the moment, the easiest solution is to install the required emulator executable.
Thanks for reporting this incorrect behavior.
Hello there, I also stuck at there and the solution is You should have variable name(Android_HOME) and its value(path) as well as another variable JAVA_HOME with its value where it installed like(C:\Program Files\Java\jdk-13.0.1);
Hope it will work
Most likely it missing of of the components in sdkmanager.
try
sdkmanager "tools" "emulator" "platform-tools" "platforms;android-34"
I followed all instructions in this official page NativeScript Advanced Setup: Linux.
I only got stuck at this step:
for which I had to first run:
Regarding emulators, I chose genymotion. (did not install
avd
)Now, after installing everything, here are all relevant environment settings/info I could get:
Now I finally check
tns doctor
...As you can see,
tns doctor
says everything is fine... but not really. Precisely, I don't get the"✔ A compatible Android SDK for compilation is found."
Vs
"✖ WARNING: The Android SDK is not installed or is not configured properly."
Is that even possible ? Any idea of any further investigations I should do ?
P.S: please, this is not the same problem as #3585 where
adb
is clearly in cause... #3585 title should be : "WARNING: adb from the Android SDK is not installed or is not configured properly." which is quite different