nixpkgs/pkgs/development/mobile
Luca Favatella c50618898f androidenv/emulate-app: fix image id for recent device manager
Symptom:
```
Available Android targets:
----------
id: 1 or "android-28"
     Name: Android 9
     Type: Platform
     API level: 28
     Revision: 6
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
 Tag/ABIs : google_ndk_playstore/x86
...
Error: Invalid --tag google_apis_playstore for the selected target.
```

For creation of AVD, switch from `android` to `avdmanager` as the
latter seems enabling selecting the image with less friction (and is
better documented as not deprecated).  This requires using recent
tools - from https://developer.android.com/studio/releases/sdk-tools :
> SDK Tools, Revision 25.3.0 (March 2017)
> ...
> `android avd` command-line functionality replaced with new
> `avdmanager` tool.

For listing of targets, switch from `android` to `avdmanager` as the
`android` command invocation fails in recent tools.  Symptom (not
missing `s` as backward incompatibility):
```
Invalid or unsupported command "list targets"

Supported commands are:
android list target
android list avd
android list device
android create avd
android move avd
android delete avd
android list sdk
android update sdk
```

References:
- https://developer.android.com/studio/tools/help/android
- https://developer.android.com/studio/command-line/avdmanager
2020-03-09 15:38:49 +00:00
..
abootimg treewide: name -> pname 2019-08-17 10:54:38 +00:00
adb-sync treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
adbfs-rootless treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
androidenv androidenv/emulate-app: fix image id for recent device manager 2020-03-09 15:38:49 +00:00
cocoapods cocoapods-beta: 1.9.0.beta.3 -> 1.9.0 2020-02-26 23:56:46 -08:00
flashtool Port packages with Android dependencies to new androidenv 2018-12-18 21:16:06 +01:00
genymotion treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
imgpatchtools treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
titaniumenv titaniumenv: add Titanium SDK 8.3 2020-03-01 20:23:39 +01:00
webos treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
xcodeenv xcodeenv: bump default Xcode version to 11.1, default iOS SDK to 13.1. Add troubleshooting section to docs 2019-11-11 00:18:22 +01:00
xpwn xpwn: bump to commit including openssl 1.1 support 2019-08-21 19:14:01 +02:00