Unable to load script..Make sure you're either running a Metro server(run 'react-native start)

首次 编译运行RN的demo时,运行代码为:react-native run-android 出现如下问题

Unable to load script..Make sure you're either running a Metro server(run 'react-native start)_第1张图片

我的手机版本是在5.0以上的,查看文档有如下操作:

Unable to load script..Make sure you're either running a Metro server(run 'react-native start)_第2张图片

原文链接:https://reactnative.cn/docs/running-on-device/

你可能感兴趣的:(Android,react,native)