Skip to content

Could not find org.jetbrains.kotlin:kotlin-serialization-compiler-plugin-embeddable:1.8.22 #5912

@fadone

Description

@fadone

Description

I am getting this error after upgrading to Flutter 3.27.4

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':amplify_push_notifications:compileReleaseKotlin'.
> Could not resolve all files for configuration ':amplify_push_notifications:kotlinCompilerPluginClasspathRelease'.
   > Could not find org.jetbrains.kotlin:kotlin-serialization-compiler-plugin-embeddable:1.8.22.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-serialization-compiler-plugin-embeddable/1.8.22/kotlin-serialization-compiler-plugin-embeddable-1.8.22.pom
       - https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-serialization-compiler-plugin-embeddable/1.8.22/kotlin-serialization-compiler-plugin-embeddable-1.8.22.pom
       - https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlin/kotlin-serialization-compiler-plugin-embeddable/1.8.22/kotlin-serialization-compiler-plugin-embeddable-1.8.22.pom
     Required by:
            project :amplify_push_notifications

* 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.

BUILD FAILED in 15s

Categories

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

Steps to Reproduce

  1. Run flutter upgrade.
  2. flutter create test_app
  3. cd test_app then, flutter pub add amplify_flutter amplify_push_notifications_pinpoint
  4. flutter build apk
  5. You should see the error

Screenshots

No response

Platforms

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

Flutter Version

3.27.4

Amplify Flutter Version

2.6.0

Deployment Method

Amplify CLI (Gen 1)

Schema

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency filequestionA 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