How to open the AVD manager on Ubuntu Linux from the command line?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
Here's the command-line usage for creating an AVD:
android create avd -n -t [- ] ...
Example : android create avd -n my_android1.5 -t 2
If the target you selected was a standard Android system image ("Type: platform"), the android tool next asks you whether you want to create a custom hardware profile.
Android 1.5 is a basic Android platform. Do you wish to create a custom hardware profile [no]
Use the create avd command to create a new AVD, specifying the --skin option with a value that references either a default skin name (such as "WVGA800") or a custom skin resolution (such as 240x432). Here's an example:
android create avd -n -t --skin WVGA800
or you can refer from :-
http://developer.android.com/tools/devices/managing-avds-cmdline.html
For me,
./android avd
worked, whereandroid
was the shell script underandroid-studio/sdk/tools
.I created shortcut with this command
Where "Nexus_5X_API_26" is my virtual device I created in Android Studio (2.3.3). Correct name can be checked from ~/.android/avd/ folder, where are one subfolder (with extension .avd) and one file (with extension .ini) for each. There are qcow2 files which I think could be also run directly with qemu (have not tested yet).
Sadly
android sdk
andandroid avd
stops working I used only command line tools:https://developer.android.com/studio#downloads
Unpack tools to :
...android-sdk/tools
(...wherever you want)Go to :
android-sdk/tools/bin
Install needed sdk libraries:
Execute in cmd
edit ~/.bashrc
Restart to take .bashrc
Go to /bin
run device:
cd android-sdk/tools
emulator -avd myDevice
Issues:
qemu emulator not found in /bin....