IjzerenHein / react-native-shared-element

Native shared element transition "primitives" for react-native 💫
MIT License
2.21k stars 97 forks source link

Android: Does not build on RN 0.67 with Gradle 7. #87

Closed andreialecu closed 2 years ago

andreialecu commented 2 years ago

It appears that RN 0.67 recommends gradle 7 which removed the maven plugin. Ref: https://stackoverflow.com/questions/69100888/plugin-with-id-maven-not-found

* What went wrong:
A problem occurred evaluating project ':react-native-shared-element'.
> Plugin with id 'maven' not found.

I originally saw the same error coming from react-native-blurhash, and bumping that one from version 1.1.5 to 1.1.8 resolved this error on that library.

The changes made to https://github.com/mrousavy/react-native-blurhash/blob/master/android/build.gradle might serve as inspiration to fixing this problem.

Related: #83

hugoh59 commented 1 year ago

Same issue for me