I am using Ubuntu 16.04.4 LTS and I want to create an AVD and store it somewhere else.
This is my android list target
id: 1 or "android-27"
Name: Android API 27
Type: Platform
API level: 27
Revision: 1
I tried these commands
./android create avd -n androidvd -t 1 -p path/to/save/my/avd
And I get the error
Error: Flag '-t' is not valid for 'create avd'.
To fix this I tried this.
./android create avd -n androidvd -d 1 -p path/to/save/my/avd
But I am getting the error
Error: Package path (-k) not specified. Valid system image paths are:
system-images;android-25;google_apis_playstore;x86
null