[Android-tools-devel] Bug#963877: apksigner: cannot execute binary file: Exec format error

Claude Heiland-Allen claude at mathr.co.uk
Sun Jun 28 14:57:14 BST 2020


Package: apksigner
Version: 0.9-1
Severity: normal

Dear Maintainer,

   * What led up to the situation?

running Debian in UserLAnd from Fdroid on Android 7.

tried to run apksigner from bash, got error
cannot execute binary file: Exec format error

from sh invoked by make the error was more confusing, as if the jar was interpreted as a shell script.


   * What exactly did you do (or not do) that was effective (or
     ineffective)?

java -jar /usr/bin/apksigner
worked



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm64 (aarch64)

Kernel: Linux 3.18.35 (SMP w/3 CPU cores; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages apksigner depends on:
ii  default-jre-headless [java8-runtime-headless]     2:1.11-72
ii  jarwrapper                                        0.72.12
ii  openjdk-11-jre-headless [java8-runtime-headless]  11.0.7+9-1

apksigner recommends no packages.

apksigner suggests no packages.

-- no debconf information



More information about the Android-tools-devel mailing list