Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

javac error: Source option 1.5 is no longer supported #138

@broesamle

Description

@broesamle

Good afternoon,
doing

[~/projets]$ cargo init --bin hellodroid_e
     Created binary (application) project
[~/projets]$ cd hellodroid_e
[~/projets/hellodroid_e]$ cargo apk

I get the following compile error:

-compile:
    [javac] Compiling 2 source files to /home/broe/projets/target/android-artifacts/build/bin/classes
    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.
    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

NDK version: 14.1.3816874
SDK tools: 26.0.2
Android Studio: 2.3.2
Ubuntu: 16.04

Maybe the SDK/NDK and the included javac is too new and does not accept some of the glue code any more? (Not a java expert...)

(NOTE: I had to install manually some parts manually from tools_r25.2.5-linux in order to get the built process to work.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions