react-native文档的这一部分说明了如何添加react-native androidDependenciez。 Integration with existing apps。可以说,我想添加其他本机依赖关系,这些是我的本机“应用程序”正在利用的。例如:Flurry Analytics。我似乎无法像使用react-native/android
allprojects {
repositories {
maven {
// All of React Native (JS, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
...
}
...
}
React native以某种方式打包到版本化的模块中。