diff --git a/local-cli/link/android/patches/makeSettingsPatch.js b/local-cli/link/android/patches/makeSettingsPatch.js index af93d0587..d4c2e57f0 100644 --- a/local-cli/link/android/patches/makeSettingsPatch.js +++ b/local-cli/link/android/patches/makeSettingsPatch.js @@ -18,7 +18,7 @@ module.exports = function makeSettingsPatch(name, androidConfig, projectConfig) } return { - pattern: 'include \':app\'\n', + pattern: '\n', patch: `include ':${name}'\n` + `project(':${name}').projectDir = ` + `new File(rootProject.projectDir, '${projectDir}')\n`,