修改 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"
]
网友评论