OneSignal / OneSignal-Flutter-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your flutter app with OneSignal
https://www.onesignal.com
Other
623 stars 213 forks source link

[Bug]: app:debugRuntimeClasspath'. #951

Open kaustav4android opened 2 months ago

kaustav4android commented 2 months ago

What happened?

Unable to build in android studio

Steps to reproduce?

Unable to build in android studio

What did you expect to happen?

while i run the project adding onesignal latest version which is mentioned below is getting error

OneSignal Flutter SDK version

5.4.5

Which platform(s) are affected?

Relevant log output

Could not determine the dependencies of task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'.
   > Failed to transform work-runtime-2.8.1.aar (androidx.work:work-runtime:2.8.1) to match attributes {artifactType=jar, org.gradle.status=release}.
      > Execution failed for JetifyTransform: /home/server/.gradle/caches/modules-2/files-2.1/androidx.work/work-runtime/2.8.1/93cf8448789a8a2abf56c11a71e8cfda9f6647e4/work-runtime-2.8.1.aar.
         > Failed to transform '/home/server/.gradle/caches/modules-2/files-2.1/androidx.work/work-runtime/2.8.1/93cf8448789a8a2abf56c11a71e8cfda9f6647e4/work-runtime-2.8.1.aar' using Jetifier. Reason: null. (Run with --stacktrace for more details.)
   > Failed to transform work-runtime-2.8.1.aar (androidx.work:work-runtime:2.8.1) to match attributes {artifactType=jar, org.gradle.status=release}.
      > Execution failed for JetifyTransform: /home/server/.gradle/caches/modules-2/files-2.1/androidx.work/work-runtime/2.8.1/93cf8448789a8a2abf56c11a71e8cfda9f6647e4/work-runtime-2.8.1.aar.
         > Failed to transform '/home/server/.gradle/caches/modules-2/files-2.1/androidx.work/work-runtime/2.8.1/93cf8448789a8a2abf56c11a71e8cfda9f6647e4/work-runtime-2.8.1.aar' using Jetifier. Reason: null. (Run with --stacktrace for more details.)
   > Failed to transform work-runtime-2.8.1.aar (androidx.work:work-runtime:2.8.1) to match attributes {artifactType=jar, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for JetifyTransform: /home/server/.gradle/caches/modules-2/files-2.1/androidx.work/work-runtime/2.8.1/93cf8448789a8a2abf56c11a71e8cfda9f6647e4/work-runtime-2.8.1.aar.
         > Failed to transform '/home/server/.gradle/caches/modules-2/files-2.1/androidx.work/work-runtime/2.8.1/93cf8448789a8a2abf56c11a71e8cfda9f6647e4/work-runtime-2.8.1.aar' using Jetifier. Reason: null. (Run with --stacktrace for more details.)

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

Code of Conduct