react-native-firebase icon indicating copy to clipboard operation
react-native-firebase copied to clipboard

Unable to resolve dependency for ':app@prodDebugAndroidTest/compileClasspath': Failed to transform file 'react-native-firebase-release.aar' to match attributes {artifactType=processed-aar} using transform IdentityTransform

Open denizbas92 opened this issue 7 years ago • 9 comments

Hi I am getting this strange error. After I open my react-native project on android studio, when I make sync android/app/build.gradle file, I am getting the error as shown above, I have no idea what is going on ? Gradle always sync failed My platform is Android. React-Native version is 0.58.5 Android studio version is 3.2.1 classpath 'com.android.tools.build:gradle:3.2.0' classpath 'com.google.gms:google-services:4.0.1' classpath 'com.google.firebase:firebase-plugins:1.1.5' "react-native-firebase": "5.2.2",

Is there any solution ?

denizbas92 avatar Mar 01 '19 15:03 denizbas92

any solution?

hackyxicor avatar Mar 10 '19 06:03 hackyxicor

Clean and rebuild project worked for me. However ,I am not sure the problem is gonna happen again or completely solved

denizbas92 avatar Mar 11 '19 14:03 denizbas92

+1. Same issue

fgagneten avatar Apr 06 '19 12:04 fgagneten

This is the detail: image

I think is related to this issue (cleaning the solution I got MultiDex error): https://github.com/invertase/react-native-firebase/issues/2032

fgagneten avatar Apr 06 '19 13:04 fgagneten

Cleaning the project you will get the real error

fgagneten avatar Apr 06 '19 14:04 fgagneten

Make sure your app/build.gradle has react-native firebase in dependencies like this:

implementation project(path: ':react-native-firebase')

and not:

implementation project(path: ':react-native-firebase', configuration: 'default')

Salakar avatar Apr 08 '19 16:04 Salakar

Make sure your app/build.gradle has react-native firebase in dependencies like this:

implementation project(path: ':react-native-firebase')

and not:

implementation project(path: ':react-native-firebase', configuration: 'default')

Thanks, it worked.

denizbas92 avatar Apr 09 '19 07:04 denizbas92

Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time. Has this issue been fixed, or does it still require the community's attention?

This issue will be closed in 15 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 07 '19 07:05 stale[bot]

Closing this issue after a prolonged period of inactivity. If this is still present in the latest release, please feel free to create a new issue with up-to-date information.

stale[bot] avatar May 22 '19 07:05 stale[bot]