You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/builder/clone/android/capacitor-cordova-android-plugins/src/main/java/org/apache/cordova/file/AssetFilesystem.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Task :appsflyer-capacitor-plugin:compileReleaseKotlin
w: file:///Users/builder/clone/node_modules/appsflyer-capacitor-plugin/android/src/main/java/capacitor/plugin/appsflyer/sdk/AppsFlyerPlugin.kt:218:40 'setSharingFilter(vararg String!): Unit' is deprecated. Deprecated in Java
w: file:///Users/builder/clone/node_modules/appsflyer-capacitor-plugin/android/src/main/java/capacitor/plugin/appsflyer/sdk/AppsFlyerPlugin.kt:220:40 'setSharingFilter(vararg String!): Unit' is deprecated. Deprecated in Java
w: file:///Users/builder/clone/node_modules/appsflyer-capacitor-plugin/android/src/main/java/capacitor/plugin/appsflyer/sdk/AppsFlyerPlugin.kt:226:40 Parameter 'call' is never used
w: file:///Users/builder/clone/node_modules/appsflyer-capacitor-plugin/android/src/main/java/capacitor/plugin/appsflyer/sdk/AppsFlyerPlugin.kt:227:36 'setSharingFilterForAllPartners(): Unit' is deprecated. Deprecated in Java
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:checkReleaseDuplicateClasses'.
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class com.google.android.play.core.common.IntentSenderForResultStarter found in modules core-1.8.0-runtime (com.google.android.play:core:1.8.0) and core-common-2.0.2-runtime (com.google.android.play:core-common:2.0.2)
Duplicate class com.google.android.play.core.common.LocalTestingException found in modules core-1.8.0-runtime (com.google.android.play:core:1.8.0) and core-common-2.0.2-runtime (com.google.android.play:core-common:2.0.2)
Duplicate class com.google.android.play.core.common.PlayCoreDialogWrapperActivity found in modules core-1.8.0-runtime (com.google.android.play:core:1.8.0) and core-common-2.0.2-runtime (com.google.android.play:core-common:2.0.2)
Duplicate class com.google.android.play.core.listener.StateUpdatedListener found in modules core-1.8.0-runtime (com.google.android.play:core:1.8.0) and core-common-2.0.2-runtime (com.google.android.play:core-common:2.0.2)
Duplicate class com.google.android.play.core.review.ReviewInfo found in modules core-1.8.0-runtime (com.google.android.play:core:1.8.0) and review-2.0.1-runtime (com.google.android.play:review:2.0.1)
Duplicate class com.google.android.play.core.review.ReviewManager found in modules core-1.8.0-runtime (com.google.android.play:core:1.8.0) and review-2.0.1-runtime (com.google.android.play:review:2.0.1)
Duplicate class com.google.android.play.core.review.ReviewManagerFactory found in modules core-1.8.0-runtime (com.google.android.play:core:1.8.0) and review-2.0.1-runtime (com.google.android.play:review:2.0.1)
Duplicate class com.google.android.play.core.review.testing.FakeReviewManager found in modules core-1.8.0-runtime (com.google.android.play:core:1.8.0) and review-2.0.1-runtime (com.google.android.play:review:2.0.1)
Go to the documentation to learn how to Fix dependency resolution errors
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
I updated my project to Capacitor 5 and when I run ./gradlew bundleRelease then it always fails with error:
I've tried many suggestions which I have found in internet but none of these works. Below you can find my package.json
Beta Was this translation helpful? Give feedback.
All reactions