This question is locked. New answers and comments are not allowed.
I'm trying to run an android emulator.
However, when I ran the command "cordova run android" in my terminal I got the error:
CordovaError: No emulator images (avds) found.
1. Download desired System Image by running: /Users/XXXX/Library/Android/sdk/tools/android sdk
2. Create an AVD by running: /Users/XXXX/Library/Android/sdk/tools/android avd
HINT: For a faster emulator, use an Intel System Image and install the HAXM device driver
but when I ran those suggested commands in the terminal it told me
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
However, the AVD manager icon in my android studio is grey and cannot be clicked.
I also tried running "tools/bin/sdkmanager" and "tools/bin/avdmanager" in my terminal but I got the error message "No such file or directory".
Does anybody understand what's going on and what I could try to solve this ?
(I have a MacBook by the way)
However, when I ran the command "cordova run android" in my terminal I got the error:
CordovaError: No emulator images (avds) found.
1. Download desired System Image by running: /Users/XXXX/Library/Android/sdk/tools/android sdk
2. Create an AVD by running: /Users/XXXX/Library/Android/sdk/tools/android avd
HINT: For a faster emulator, use an Intel System Image and install the HAXM device driver
but when I ran those suggested commands in the terminal it told me
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
However, the AVD manager icon in my android studio is grey and cannot be clicked.
I also tried running "tools/bin/sdkmanager" and "tools/bin/avdmanager" in my terminal but I got the error message "No such file or directory".
Does anybody understand what's going on and what I could try to solve this ?
(I have a MacBook by the way)