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

[Bug]: app:debugRuntimeClasspath'. #951

Closed
2 of 3 tasks
kaustav4android opened this issue Sep 12, 2024 · 2 comments
Closed
2 of 3 tasks

[Bug]: app:debugRuntimeClasspath'. #951

kaustav4android opened this issue Sep 12, 2024 · 2 comments

Comments

@kaustav4android
Copy link

kaustav4android commented Sep 12, 2024

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?

  • iOS
  • Android

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

  • I agree to follow this project's Code of Conduct
@jennantilla
Copy link
Contributor

Hello there--apologies for the delay. Is this still an issue for you?

It looks like there might be a conflict in your work-runtime dependencies.

Can you run ./gradlew app:dependencies or ./gradlew build --scan from the android folder of your project. (where your build.gradle or gradlew files are located) and share the output? This should point to libraries using this dependency and see if any are conflicting.

Thanks!

@kaustav4android
Copy link
Author

kaustav4android commented Dec 6, 2024 via email

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

No branches or pull requests

2 participants