![how to add emulator in cordova terminal mac how to add emulator in cordova terminal mac](https://www.jimbobbennett.io/content/images/2014/May/CordovaSimulator.jpg)
On Gist page, you can find commands to install various other Android emulators.Thanks to -install "system-images android-29 default x86" to download the emulator image Įcho "no" | avdmanager -verbose create avd -force -name "generic_10" -package "system-images android-29 default x86" -tag "default" -abi "x86" to create the image įor f in ~/.android/avd/*.avd/config.ini do echo 'hw.keyboard=yes' > "$f" done to enable keys from your laptop to be sent to the emulator. Sdkmanager "platform-tools" "platforms android-29" "build-tools 29.0.2" android/repositories.cfg to create repositories.cfg If the file bash_profile does not exist, create it by touch. bash_profile, add the line export ANDROID_SDK_ROOT="/usr/local/share/android-sdk", and save these changes with source. III) Install Android SDK and Android Command Line Tools Sudo ln -sfn /usr/local/opt/ /libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-8.jdkĮcho 'export PATH="/usr/local/opt/ /bin:$PATH"' > ~/.zshrc Check you have installed version 10.0.0 that ships with Android version 9.0.0 and iOS version 6.1.0, which are currently being used for DearScholar by running cordova -v.
![how to add emulator in cordova terminal mac how to add emulator in cordova terminal mac](https://miro.medium.com/max/1838/1*C8bYtZcFogc4H4FnVQdXPQ.png)
![how to add emulator in cordova terminal mac how to add emulator in cordova terminal mac](https://static.raymondcamden.com/images/41.jpg)
To test DearScholar on an emulated Android device, you can use Android Studio, but there is another, disk-saving way that I will describe here using Cordova Command Line Tools, Android Studio or Android SDK, Android Command Line Tools, and Gradle.