React Native: JAVA_HOME is not set and no 'java' command could be found in your PATH

前端 未结 9 2178
清歌不尽
清歌不尽 2020-12-23 16:44

I\'ve followed step by step the official Getting Started. I started from a clean linux install and installed everything required as per the \"Building Projects with Native C

9条回答
  •  鱼传尺愫
    2020-12-23 17:11

    I ran this in the command prompt(have windows 7 os): JAVA_HOME=C:\Program Files\Android\Android Studio\jre

    where what its = to is the path to that jre folder, so anyone's can be different.

提交回复
热议问题