React-Native 报错 Error: EISDIR: illegal operation on a directory, open '/android/app/build/interm...

修改 project_path/android/app/build.gradle

project.ext.react = [
    entryFile: "index.js",
    jsBundleDirDebug: "$buildDir/intermediates/merged_assets/debug/mergeDebugAssets/out",
    jsBundleDirRelease: "$buildDir/intermediates/merged_assets/release/mergeReleaseAssets/out"
]

你可能感兴趣的:(React-Native 报错 Error: EISDIR: illegal operation on a directory, open '/android/app/build/interm...)