W
W
WizardW2019-09-28 17:11:51
Android
WizardW, 2019-09-28 17:11:51

React-native doesn't recognize JAVA_HOME, why?

I create a project, set up the emulator off. dock. Installed java jdk-13. After starting react-native run-android, it says that JAVA_HOME is not visible and additionally throws some kind of error, tell me what's the matter?
5d8f6a23051ad716376733.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Alexandrovich, 2019-09-28
@WizardW

so he tells you that he cannot find java_home in PATH. To get started, just restart the wheelbarrow. I had something like that.

P
PizzaMonster, 2020-06-13
@PizzaMonster

I think you no longer need an answer to this question, I'll leave it to those who ask the same question as you.
You need to specify the pathC:\Program Files\Android\Android Studio\jre

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question