java.lang.UnsupportedClassVersionError: com/android/apksigner/ApkSignerTool has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
android-platform-tools-apksig (Debian) |
Fix Released
|
Unknown
|
|||
android-platform-tools-apksig (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Here is another regression from the new packages in Bionic proposed-updates:
$ apksigner
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.
at java.lang.
at java.lang.
at java.security.
at java.net.
at java.net.
at java.net.
at java.net.
at java.security.
at java.net.
at java.lang.
at sun.misc.
at java.lang.
at sun.launcher.
I'm using OpenJDK 8 here.
This will be affecting the publishing of Android apps. ApkSigner is the tool you use for signing the Application Archives.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: apksigner 0.8-2~18.04
ProcVersionSign
Uname: Linux 4.18.0-17-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Mar 21 20:00:32 2019
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-04-21 (1063 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitec
SourcePackage: android-
UpgradeStatus: Upgraded to bionic on 2018-04-26 (328 days ago)
Changed in android-platform-tools-apksig (Debian): | |
status: | Unknown → New |
Changed in android-platform-tools-apksig (Debian): | |
status: | New → Fix Released |
Changed in android-platform-tools-apksig (Ubuntu Cosmic): | |
status: | Fix Committed → Fix Released |
Thank you for taking the time to report this bug and helping to make Ubuntu better. I have uploaded a package into disco-proposed with the fix. Meanwhile the uploads to bionic-proposed and cosmic-proposed are waiting for approval, a bot will add a notice when they get approved.
Since it is late and approval requires manual intervention by an admin we might only get someone to look this over on Monday.