Execution failed for task ‘:react-native-camera:compileDebugJavaWithJavac’.

huangapple go评论72阅读模式
英文:

Dependency error Execution failed for task ':react-native-camera:compileDebugJavaWithJavac'

问题

我在运行这个旧项目时遇到了问题。在我成功打开它之后,我会进行更新。

当我运行./gradlew build时,我收到了以下错误消息:

Execution failed for task ‘:react-native-camera:compileDebugJavaWithJavac’.

这是我的build.gradle文件:

Execution failed for task ‘:react-native-camera:compileDebugJavaWithJavac’.

react-native-camera中的build.gradle文件如下:

Execution failed for task ‘:react-native-camera:compileDebugJavaWithJavac’.

似乎一切都无法正常工作。我该如何解决并运行此应用程序?

提前谢谢!

我尝试修改react-native-camera中的build.gradle文件,以使其与 Android 版本匹配。我还将 React Native 版本添加到了android\app\build.gradle中,就像我在另一个 SO 问题中看到的一样。

当我尝试运行npm install时,我收到了以下错误:

Execution failed for task ‘:react-native-camera:compileDebugJavaWithJavac’.

英文:

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

Execution failed for task ‘:react-native-camera:compileDebugJavaWithJavac’.

this is my build.gradle

Execution failed for task ‘:react-native-camera:compileDebugJavaWithJavac’.

the build.gradle in react-native-camera

Execution failed for task ‘:react-native-camera:compileDebugJavaWithJavac’.

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

Execution failed for task ‘:react-native-camera:compileDebugJavaWithJavac’.

as i saw in another SO question.

when i try to launch npm install i get this

Execution failed for task ‘:react-native-camera:compileDebugJavaWithJavac’.

答案1

得分: 0

我更新了react-native-camera库,它正常工作。

英文:

I updated the react-native-camera library and it worked

huangapple
  • 本文由 发表于 2023年6月22日 18:07:25
  • 转载请务必保留本文链接:https://go.coder-hub.com/76530779.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定