I am having a difficulty with first time react-native run-android. The Error looks like this following

前端 未结 3 1152

FAILURE: Build failed with an exception.

What went wrong: A problem occurred

configuring project \':app\'.

3条回答
  •  没有蜡笔的小新
    2021-02-14 04:24

    If anyone else having the same problem with the above fix not working - then try installing JDK 1.8 instead of JDK 1.9 and set the JAVA_HOME environment variables. This fixed it for me.

提交回复
热议问题