【发布时间】:2018-04-07 15:29:41
【问题描述】:
尝试在物理设备上运行生成的构建 apk 或调试时,它正在加载旧包。并且不反映任何变化,它只发生在同一网络上的物理设备上。
以下技巧对我不起作用。 1.
Run the command in a terminal: ps ax | grep react-native
Kill all processes and run bundle script again.
2.
rm -rf $TMPDIR/react-*
3.
--resetCache true
4.
--reset-cache
5.
Permanent delete node_modules
npm cache clean –force
npm install
npm start -- --reset-cache
【问题讨论】:
标签: react-native react-native-android