【发布时间】:2022-01-07 23:49:57
【问题描述】:
我试图在我正在用 React Native 构建的应用程序中实现一个图片库系统,但是当我安装 react-native-multiple-image-picker 包并尝试运行它时,它给了我这个错误:
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
您知道我该如何解决吗? 附言 当我在 ios 上运行它时,它运行良好 谢谢。
【问题讨论】:
标签: java android reactjs react-native gradle