0
votes

I was trying to implement an image gallery system in a app that i am building in React Native but when I installed the react-native-multiple-image-picker package and tried to run it it gave me this error:

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/calebgarcia/Dev/Tibeo/node_modules/@baronha/react-native-multiple-image-picker/android/build.gradle'

* What went wrong:
Could not compile build file '/Users/calebgarcia/Dev/Tibeo/node_modules/@baronha/react-native-multiple-image-picker/android/build.gradle'.
> startup failed:
  General error during semantic analysis: Unsupported class file major version 61
  
  java.lang.IllegalArgumentException: Unsupported class file major version 61
        
 

Do you have any idea how i can fix it? P.S. When I run it on ios, it works perfectly Thanks.