flurry / flurry-android-sdk

Flurry Android SDK API reference documentation
Apache License 2.0
22 stars 3 forks source link

Failed to transform ads-12.13.0.aar (com.flurry.android:ads:12.13.0) to match attributes #30

Open jesphinpt opened 2 years ago

jesphinpt commented 2 years ago

I am trying to update the flurry-analytics version from 12.1.0 to 13.3.0. While updating the version I got the error in the Flurry0ads as well.

If I make the both version to the same like the below release not making any issues.

implementation 'com.flurry.android:analytics:12.13.0'
implementation 'com.flurry.android:ads:12.13.0'

Execution failed for task ':mergeExtDexRelease'.
> Could not resolve all files for configuration ':ReleaseRuntimeClasspath'.
   > Failed to transform ads-12.13.0.aar (com.flurry.android:ads:12.13.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-is-debuggable=false, dexing-min-sdk=21, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: /Users/name/.gradle/caches/transforms-3/c77479a8e2d25ae0a8a558990f9278f1/transformed/jetified-ads-12.13.0-runtime.jar.
         > Error while dexing.

* 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.
poting-oath commented 2 years ago

@jesphinpt Flurry Ads is no longer supported and you need to migrate over to Yahoo Mobile SDK for your ad needs. If your use case is analytics only, you can remove the ads dependency.

You can find Yahoo Mobile SDK at https://sdk.yahooinc.com/yahoo-ads/integration.html.

teamelliel commented 1 year ago

We're using it with React Native https://www.npmjs.com/package/react-native-flurry-sdk

poting-oath commented 1 year ago

As I known, there is currently no React Native plugin for Yahoo Mobile SDK! I suggest you to continue using https://www.npmjs.com/package/react-native-flurry-sdk, and manually add Yahoo Mobile SDK native library in your project.

Check https://reactnative.dev/docs/native-modules-intro to access Yahoo Mobile SDK libraries.