【发布时间】:2020-01-03 11:58:58
【问题描述】:
我现有的项目运行良好
"react-native": "0.59.x",
"react-native-camera": "^2.11.2"
在我将“react-native-push-notification”添加到我的项目之后 =>
"react-native": "0.59.x",
"react-native-camera": "^2.11.2",
"react-native-push-notification": "^2.1.0",
遇到了几个问题,我一一修复后添加
android.enableJetifier=true
android.useAndroidX=true
gradle.properties我在 React-Native-Camera 中遇到了问题
Execution failed for task ':react-native-camera:compileGeneralDebugJavaWithJavac'
我怀疑错误是因为某些版本不匹配而发生的,但我找不到。 有人可以帮我解决这个问题吗?
【问题讨论】:
-
由于this 线程我在我的gradle.properties 中添加了
android.useAndroidX=true android.enableJetifier=true,之后出现了RNCamera 问题。 -
当我搜索 android.support.v4.content 我的 VSCode 没有给出任何结果,但是当我每次运行项目时它都会给出一个与android.support.v4.content。但现在的问题是我必须在我所有的库中更改它。
-
我想有人回答了你的问题,我从不自己使用响应式原生
标签: android reactjs react-native react-native-camera react-native-push-notification