Skip to content

Flutter 3.24 build apk issue  #5542

Open
@KishanD24

Description

@KishanD24

Description

amplify_auth_cognito Having issue win32 and 2nd is as below issue

i fixed win32 by adding
dependency_overrides:
win32: ^5.6.0

but still having issue in flutter 3.24 as below

  • What went wrong:
    Execution failed for task ':amplify_analytics_pinpoint:compileReleaseJavaWithJavac'.

Could not resolve all files for configuration ':amplify_analytics_pinpoint:androidJdkImage'.
Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for JdkImageTransform: C:\Users\Kishan\AppData\Local\Android\sdk\platforms\android-34\core-for-system-modules.jar.
> Error while executing process C:\Program Files\Android\Android Studio\jbr\bin\jlink.exe with arguments {--module-path C:\Users\Kishan.gradle\caches\transforms-3\4a46fc8
9ed5f9adfe3afebf74eb8bfeb\transformed\output\temp\jmod --add-modules java.base --output C:\Users\Kishan.gradle\caches\transforms-3\4a46fc89ed5f9adfe3afebf74eb8bfeb\transformed\output\jdkImage --disable-plugin system-modules}

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

Categories

  • Analytics
  • API (REST)
  • API (GraphQL)
  • Auth
  • Authenticator
  • DataStore
  • Notifications (Push)
  • Storage

Steps to Reproduce

Just run in flutter 3.24

Screenshots

Screenshot 2024-10-13 132211

Platforms

  • iOS
  • Android
  • Web
  • macOS
  • Windows
  • Linux

Flutter Version

3.24.3

Amplify Flutter Version

2.4.1

Deployment Method

Amplify Gen 2

Schema

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidIssues specific to the Android PlatformauthIssues related to the Auth Categorynot-reproducibleIssues that cannot be reproduced using the steps providedquestionA question about the Amplify Flutter libraries

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions