react-native启动时红屏报错:Unable to load script.Make sure you‘re either running a metro server or that
·
解决办法:
android/app/build.gradle中设置, 如果原本有enableHermes: true 这行需要删掉.
project.ext.react = [
bundleAssetName: 'index.android.bundle',
bundleInDebug: true,
bundleInAlpha: true,
bundleInBeta : true
]
更多推荐
所有评论(0)