3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/mobile/androidenv
Luca Favatella f01278dea2 androidenv: manually (!) delete more complex version of google images
This commit was built as a revert commit followed by deletion:
* Revert "androidenv: manually (!) delete oldest revision of google
  images".
* Delete other revision.

Using `systemImageType = "google_apis_playstore"` (and `abiVersion =
"x86"` and `platformVersion = "28"` - that I expect resolved to
`97d9d4f4a2afa8b0f5d52e90748e19c10406ca93`), the symptom is:
```
Warning: Observed package id 'system-images;android-28;google_ndk_playstore;x86' in inconsistent location '/nix/store/...-androidsdk/libexec/android-sdk/system-images/android-28/google_apis_playstore/x86' (Expected '/nix/store/...-androidsdk/libexec/android-sdk/system-images/android-28/google_ndk_playstore/x86')
...
Error: Package path is not valid. Valid system image paths are:
system-images;android-28;google_ndk_playstore;x86
```
How is the actual image name `google_ndk_playstore` when the fetched
image has id `google_apis_playstore`?

Attempt keeping - of the two images - the one that looks simpler.

For the `"28".google_apis."x86"` images, in the XML the differences
are: more complex license (what is `arm-dbt`?); higher emulator.
Namely:
```
		<uses-license ref="android-sdk-license"/>
		<dependencies>
			<dependency path="patcher;v4"/>
			<dependency path="emulator">
				<min-revision>
					<major>27</major>
					<minor>1</minor>
					<micro>7</micro>
...
		<uses-license ref="android-sdk-arm-dbt-license"/>
		<dependencies>
			<dependency path="patcher;v4"/>
			<dependency path="emulator">
				<min-revision>
					<major>29</major>
					<minor>1</minor>
					<micro>12</micro>
```

Analogously for `"28".google_apis_playstore."x86"`.
2020-03-09 18:34:16 +00:00
..
generated androidenv: manually (!) delete more complex version of google images 2020-03-09 18:34:16 +00:00
ndk-bundle
tools
build-app.nix
build-tools.nix androidenv build-tools: fix old versions under linux 2020-02-14 11:41:57 +01:00
cmake.nix
compose-android-packages.nix androidenv: fix default platform-tools to a known one 2020-03-09 04:47:40 +00:00
convertaddons.xsl
convertpackages.xsl androidenv: fix packages xsl used in generate.sh 2020-03-09 04:45:36 +00:00
convertsystemimages.xsl androidenv: fix system images xsl used in generate.sh 2020-03-09 03:43:19 +00:00
default.nix
deploy-androidpackage.nix
emulate-app.nix androidenv/emulate-app: fix image id for recent device manager 2020-03-09 15:38:49 +00:00
emulator.nix androidenv: add missing linux dependencies 2020-03-09 04:49:47 +00:00
generate.sh androidenv: update generate.sh to use nix-shell and fail on error 2020-03-09 03:43:19 +00:00
lldb.nix androidenv.lldb: Fix libssl not found 2020-01-07 14:02:13 +07:00
platform-tools.nix treewide: *inputs are lists 2019-12-31 01:09:25 +01:00
querypackages.sh
tools.nix