Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: "Error: Invalid --tag default for the selected target."

Tags:

android

avd

After running

android create avd -f -a -s HVGA -n hudson_en-US_160_HVGA_android-20_armeabi-v7a -t android-20 --abi armeabi-v7a

I recieved the error message Error: Invalid --tag default for the selected target.

I have android-20, and armeabi-v7a installed through the SDK manager. Does anybody have any ideas? I know it is the -g or --tag parameter but I can't find anything on it on google.

Thanks in advance.

like image 863
Colin Galindo Avatar asked Aug 28 '14 16:08

Colin Galindo


1 Answers

android create avd -f -a -s HVGA -n hudson_en-US_160_HVGA_android-20_armeabi-v7a -t android-20 --abi android-wear/armeabi-v7a

In case anyone else has the same issue with android-20 (Android 4.4W) turns out the abis are prefixed with android-wear the above should do the trick

like image 161
Colin Galindo Avatar answered Nov 19 '22 20:11

Colin Galindo