im new with react native。
有一个项目,helloworld
root/
/android/
/ios/
/node_modules/
/githubLib1/
/android/...
/ios/...
...
/src/
...
所以我的问题是如何将'githublib1'分叉到'githublib2'并将其置于根级别然后连接到本机?
我确实复制并放在root上 但当我做'react-native link githublib2'时,引擎想要使用/ node_modules /仅用于搜索
所以对于andriod我这样做了
rootProject.name = 'heeloworld1'
include ':githublib2'
project(':githublib2').projectDir = new File(rootProject.projectDir, '../githublib2/android')
include ':app'
请让我知道,也许我需要使用另一种做法