Skip to content

Task :flutter_inappwebview:syncReleaseLibJars FAILED #2687

@ChuckAng

Description

@ChuckAng

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Similar issue to #2280.

Have tried 6.0.0, 6.1.5 but doesn't solve this issue.

Only happened when building apk release (android), works when running debug mode

flutter version - 3.27.4
flutter_inappwebview - 6.1.5

Expected Behavior

Success to build apk release

Steps with code example to reproduce

Steps with code example to reproduce

flutter build apk --release -t lib/main.dart

Stacktrace/Logs

Stacktrace/Logs

Logs:

  • What went wrong:
    A problem was found with the configuration of task ':flutter_inappwebview_android:syncReleaseLibJars' (type 'LibraryAarJarsTask').
    • In plugin 'com.android.internal.version-check' type 'com.android.build.gradle.internal.tasks.LibraryAarJarsTask' property 'javaResourcesJar' specifies file '/Users/user/StudioProjects/tuition_app/FlutKit/build/flutter_inappwebview_android/intermediates/merged_java_res/release/feature-flutter_inappwebview_android.jar' which doesn't exist.

      Reason: An input file was expected to be present but it doesn't exist.

      Possible solutions:

      1. Make sure the file exists before the task is called.
      2. Make sure that the task which produces the file is declared as an input.

Flutter version

v3.27.4

Operating System, Device-specific and/or Tool

flutter version - 3.27.4

flutter_inappwebview - 6.1.5

compileSdkVersion - 35

targetSdkVersion - 35

compileOptions JavaVersion.VERSION_17

kotlinOptions JvmTarget - 17

tools.build:gradle - 8.2.0

Plugin version

v6.0.0, v6.1.5

Additional information

No response

Self grab

  • I'm ready to work on this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions