[Android-tools-devel] Bug#827214: android-sdk: failed to find target with hash string 'android-23' in: /usr/lib/android-sdk

Chirayu Desai chirayu at cdesai.in
Mon Jun 13 19:12:48 UTC 2016


Package: android-sdk
Version: 24.3.3+2
Severity: grave
Justification: renders package unusable

Dear Maintainers,

I'm trying to build a sample app with the SDK by running 'gradle build'. App is available at [1].

This is due to the files 'source.properties' and 'build.prop' missing from
/usr/lib/android-sdk/platforms/android-23/

Adding those from Google's upstream archive at [2] makes the build go ahead.

source.properties can be easily generated from the template at [3],
however build.prop might be a bit tricky since it uses a lot of variables
defined during a full android build. We could try adding a dummy file,
or a minimal version. It is generated by [4], and then some more properties are added.
The platforms directory also includes a file sdk.properties, which we
could include from [5] for completeness.

[1]: https://gitlab.com/cde/AndroidHelloWorld
[2]: https://dl.google.com/android/repository/platform-23_r03.zip
[3]: http://anonscm.debian.org/cgit/android-tools/android-platform-development.git/tree/sdk/platform_source.prop_template
[4]: http://anonscm.debian.org/cgit/android-tools/android-platform-build.git/tree/tools/buildinfo.sh
[5]: http://anonscm.debian.org/cgit/android-tools/android-platform-development.git/tree/sdk/sdk.properties

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages android-sdk depends on:
ii  android-sdk-build-tools     23.0.2+2
ii  android-sdk-common          24.3.3+2
ii  android-sdk-platform-tools  23.0.0+2
ii  libgl1-mesa-glx             11.2.2-1
ii  libosmesa6                  11.2.2-1
ii  libswt-gtk-3-java           3.8.2-3
ii  proguard                    5.2.1-4

android-sdk recommends no packages.

android-sdk suggests no packages.

-- debconf-show failed



More information about the Android-tools-devel mailing list