英文:
Dependency error Execution failed for task ':react-native-camera:compileDebugJavaWithJavac'
问题
我在运行这个旧项目时遇到了问题。在我成功打开它之后,我会进行更新。
当我运行./gradlew build
时,我收到了以下错误消息:
这是我的build.gradle
文件:
react-native-camera
中的build.gradle
文件如下:
似乎一切都无法正常工作。我该如何解决并运行此应用程序?
提前谢谢!
我尝试修改react-native-camera
中的build.gradle
文件,以使其与 Android 版本匹配。我还将 React Native 版本添加到了android\app\build.gradle
中,就像我在另一个 SO 问题中看到的一样。
当我尝试运行npm install
时,我收到了以下错误:
英文:
I'm having trouble running this old project. I'll update it after i managed to open it.
i get this message when i do ./gradlew build
this is my build.gradle
the build.gradle in react-native-camera
nothing seems to work. how can i resolve and run this app?
Thank you in advance!
I've tried to change the build.gradle in the react-native-camera to make it match with the android one. I've also added the react-native version to the android\app\build.gradle
as i saw in another SO question.
when i try to launch npm install i get this
答案1
得分: 0
我更新了react-native-camera库,它正常工作。
英文:
I updated the react-native-camera library and it worked
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论