Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update This Package #836

Open
MdAsifUrRahmanAbir opened this issue Jun 11, 2024 · 3 comments
Open

Update This Package #836

MdAsifUrRahmanAbir opened this issue Jun 11, 2024 · 3 comments
Assignees
Labels
new feature New feature or request

Comments

@MdAsifUrRahmanAbir
Copy link

Error (Xcode): ../../.pub-cache/hosted/pub.dev/assets_audio_player-3.1.1/lib/src/builders/player_builders.dart:44:14: Error: Duplicated named argument 'key'.
in assets_audio_player-3.1.1 this package , player_builders.dart this file have problem of duplicate key super.key

image

@MdAsifUrRahmanAbir
Copy link
Author

@florent37
Or tell me how to solve this problem Please

@Patiyang
Copy link

This also needs to be updated for the next version/commit. I'm using your package (with a reference to the master) for iOS but can't render my Android version due to unsynced Java versions in build.gradle / android { section.

compileOptions {
        // Sets Java compatibility to Java 17
        sourceCompatibility JavaVersion.VERSION_17
        targetCompatibility JavaVersion.VERSION_17
    }

    kotlinOptions {
        jvmTarget = '17'
    }

anyone find a solution to this?

@samtun
Copy link

samtun commented Aug 15, 2024

anyone find a solution to this?

Had issued with the Java version / gradle too and only got it working by using older gradle / com.android.application versions. I am now using the following versions and builds are working for now again:

  • gradle version 7.6-all in android/grade/wrapper/grade-wrapper.properties
  • com.android.application version 7.3.0 in android/settings.gradle

Generally what I did was search for any occurrence of https://services.gradle.org/distributions/gradle and using the latest version used by any package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants