Skip to content

x/mobile/cmd/gomobile: cannot bind, "Source option 7 is no longer supported." #59803

@SuzukiHonoka

Description

@SuzukiHonoka

This error shows up when I'm tring to bind my library, seems to be caused by deprecated java version

gomobile: javac -d /tmp/gomobile-work-2528798080/javac-output -source 1.7 -target 1.7 -bootclasspath /home/starx/Android/Sdk/platforms/android-33/android.jar go/Seq.java go/Universe.java go/error.java spaceship_aar/Config.java spaceship_aar/LauncherWrapper.java spaceship_aar/Spaceship_aar.java failed: exit status 2
error: Source option 7 is no longer supported. Use 8 or later.
error: Target option 7 is no longer supported. Use 8 or later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.mobileAndroid, iOS, and x/mobile

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions