search

Home  >  Q&A  >  body text

react-native run-android

我安卓模拟器打开了,usb调试也打开了并且连接了,但是react-native app创建好后,运行react-native run-android 这个命令却不能在模拟器上运行也不能在真机上运行,并且出现以下错误

巴扎黑巴扎黑2771 days ago583

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-04-17 17:28:15

    The error log is already very obvious. You haven’t configured the Android development environment yet, and the ANDROID_HOME environment variable is missing. Please confirm that you have downloaded and installed the Android SDK, and configured the environment variables so that RN can find the SDK path, and try again.

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 17:28:15

    As mentioned above, you have not installed the Android development environment

    reply
    0
  • Cancelreply