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]: Android Build Failed on EAS #221

Open
1 task done
ghost opened this issue Jan 27, 2024 · 1 comment
Open
1 task done

[Bug]: Android Build Failed on EAS #221

ghost opened this issue Jan 27, 2024 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 27, 2024

What happened?

Hi team,

Using Expo SDK 49 the Android build failed

`FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
   > Duplicate class androidx.work.OneTimeWorkRequestKt found in modules work-runtime-2.8.0-runtime (androidx.work:work-runtime:2.8.0) and work-runtime-ktx-2.7.1-runtime (androidx.work:work-runtime-ktx:2.7.1)
     Duplicate class androidx.work.PeriodicWorkRequestKt found in modules work-runtime-2.8.0-runtime (androidx.work:work-runtime:2.8.0) and work-runtime-ktx-2.7.1-runtime (androidx.work:work-runtime-ktx:2.7.1)
     
     Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
* 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 5m 38s
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings
1034 actionable tasks: 1034 executed
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.`

Using onesignal-expo-plugin v2.0.2

Steps to reproduce?

- install onesignal-expo-plugin v2.0.2
- run Android build on EAS 
- observe the error

What did you expect to happen?

N/A

OneSignal Expo SDK version

2.0.2

Platform

Android

Relevant log output

No response

Code of Conduct

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

rgomezp commented Jun 20, 2024

Hello, from the stack trace nothing points this to be caused by this plugin. Can you provide some further info?

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

No branches or pull requests

1 participant