Skip to content

build fails after upgrade from 3.15.5 #189

@tomquas

Description

@tomquas

trying to build my app with adapty_flutter-3.17.0 using flutter 3.41.9 – see below.
those jvm settings seem to ask for a bump...

e: file:///Users/tom/.pub-cache/hosted/pub.dev/adapty_flutter-3.17.0/android/src/main/kotlin/com/adapty/flutter/AdaptyOnboardingNativeView.kt:23:62 Cannot inline bytecode built with JVM target 11 into bytecode that is being built with JVM target 1.8. Specify proper '-jvm-target' option.
e: file:///Users/tom/.pub-cache/hosted/pub.dev/adapty_flutter-3.17.0/android/src/main/kotlin/com/adapty/flutter/AdaptyPaywallNativeView.kt:23:56 Cannot inline bytecode built with JVM target 11 into bytecode that is being built with JVM target 1.8. Specify proper '-jvm-target' option.
flutter --version
Flutter 3.41.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 00b0c91f06 (6 weeks ago) • 2026-04-29 10:03:19 -0700
Engine • hash 9161402dc0e134b3fb5adee5046b6e84b1a5e1c1 (revision 42d3d75a56) (1 months ago) • 2026-04-28 17:31:55.000Z
Tools • Dart 3.11.5 • DevTools 2.54.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions