Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

[Android] Building Android binaries fail when JDK 11 is used #87

Closed
tanersener opened this issue Feb 20, 2019 · 2 comments
Closed

[Android] Building Android binaries fail when JDK 11 is used #87

tanersener opened this issue Feb 20, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request fixed

Comments

@tanersener
Copy link
Owner

Compilation of Android library fails when JDK 11 is installed.

android.sh can not create .aar archive

mobile-ffmpeg: ok

Creating Android archive under prebuilt/android-aar: failed

build.log includes the following log

[x86_64] Install        : libavdevice.so => libs/x86_64/libavdevice.so
[x86_64] Install        : libswscale.so => libs/x86_64/libswscale.so

FAILURE: Build failed with an exception

* What went wrong:
Could not determine java version from '11.0.2'.

java version is

java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
@tanersener
Copy link
Owner Author

Current gradle wrapper version 4.6 does not support JDK 11, gradle wrapper upgrade is required.

@tanersener tanersener added bug Something isn't working and removed needs-analysis labels Feb 20, 2019
@tanersener
Copy link
Owner Author

Fixed in development branch.

@tanersener tanersener added enhancement New feature or request and removed bug Something isn't working labels Feb 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request fixed
Projects
None yet
Development

No branches or pull requests

1 participant