[Android-tools-devel] Bug#827216: android-sdk: Process 'command 'aapt'' finished with non-zero exit value 134

Chirayu Desai chirayu at cdesai.in
Mon Jun 13 19:37:16 UTC 2016


Package: android-sdk
Version: 24.3.3+2
Severity: important

Dear Maintainers,

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

After putting in the files mentioned in Bug #827214 and Bug #827215, the next failure is:
Execution failed for task ':processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/lib/android-sdk/build-tools/23.0.2/aapt'' finished with non-zero exit value 134

I ran 'gradle build --debug', which printed the full command being run, with all arguments.
Trying to run that manually results in a 'Abort' message,
and running strace shows it crashing just after reading the AndroidManifest file.

I tried this with the android.jar built by [2], and also with the upstream
version from [3], both fail, so that could be ruled out.

The version of aapt I'm using is "1:6.0.1+r43-1", which is unreleased [4] at the
time of filing this bug report.

[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-frameworks-base.git/log/?h=android-jar-old
[4]: http://anonscm.debian.org/cgit/android-tools/android-platform-frameworks-base.git/tree/debian/changelog?id=b615befcb71ed5ece7f90ae03a5868c6d84a3f9f#n1

-- 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