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

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

@tanersener

Description

@tanersener

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)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions