Home  >  Q&A  >  body text

android - 如何在安卓真机上调试react-native

小米手机,怎么调试react-native程序?写完代码看不到后台,也没找到那个摇一摇就出现的调试模式,求科普!!!

天蓬老师天蓬老师2716 days ago475

reply all(3)I'll reply

  • 天蓬老师

    天蓬老师2017-04-17 17:54:16

    miui will turn off the App’s floating window permission by default, so you won’t see the debugging floating window that appears when you shake it. Just go to the settings and open the floating window permission of the corresponding react native app.

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 17:54:16

    You can get it just by shaking it. I was really shocked when I first played it. The first real machine deployment requires a USB link, and then I can develop and debug by unplugging the cable and connecting to wifi

    reply
    0
  • 黄舟

    黄舟2017-04-17 17:54:16

    You can take a look at a demo music app written by this guy https://github.com/chunmu/RNM...
    The project lists some common problems and commonly used libraries, which is interesting

    reply
    0
  • Cancelreply