在安卓源代码的 settings.gradle 添加如下代码即可:
include ':app', ':react-native-code-push'
project(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android/app')
参考:https://github.com/microsoft/react-native-code-push/issues/1873