JimmyDaddy / react-native-image-marker

🙈Adding text or icon watermark to your image using React Native👀👀
https://jimmydaddy.github.io/react-native-image-marker/
MIT License
316 stars 93 forks source link

Expo project build failed with react-native-image-marker #213

Closed StrangeTown closed 7 months ago

StrangeTown commented 7 months ago

An error occurred when I run "expo run:android" in Expo project: "FAILURE: Build failed with an exception."

image
  1. I installed the react-native-image-marker first

    npx expo install react-native-image-marker
  2. Then, I ran prebuild

    npx expo prebuild -p android
  3. I got the error when I tried to run the project

    yarn run android

Environment

"react-native": "0.72.6", "react-native-image-marker": "^1.2.5", node version: v18.17.0 Gradle 8.0.1

JimmyDaddy commented 7 months ago

@StrangeTown Hello, according the RN and Gradle version your project used, you should use v1.1.5, ref

StrangeTown commented 7 months ago

Thank you so much for replying

My project run successfully after I changed the version to v1.1.5 as you mentioned.