Monday, August 17, 2026
HomeiOS Developmentjavascript - Unable to run React-Native

javascript – Unable to run React-Native

[ad_1]

After operating npx react-native run-android right here is the message from terminal:

FAILURE: Construct failed with an exception.

  • The place:
    Construct file ‘/Customers/vivek/Paperwork/Code-Right here/React-Native/instaClone/android/app/construct.gradle’ line: 1

  • What went fallacious:
    An issue occurred evaluating mission ‘:app’.

Failed to use plugin ‘com.android.inner.software’.
Android Gradle plugin requires Java 11 to run. You’re at present utilizing Java 1.8.
You may strive among the following choices:
– altering the IDE settings.
– altering the JAVA_HOME atmosphere variable.
– altering org.gradle.java.house in gradle.properties.

Run with –stacktrace choice to get the stack hint.
Run with –info or –debug choice to get extra log output.
Run with –scan to get full insights.

BUILD FAILED in 7s

error Failed to put in the app. Ensure you have the Android growth atmosphere arrange: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Construct failed with an exception.

  • The place:
    Construct file ‘/Customers/vivek/Paperwork/Code-Right here/React-Native/instaClone/android/app/construct.gradle’ line: 1

  • What went fallacious:
    An issue occurred evaluating mission ‘:app’.

Failed to use plugin ‘com.android.inner.software’.
Android Gradle plugin requires Java 11 to run. You’re at present utilizing Java 1.8.
You may strive among the following choices:
– altering the IDE settings.
– altering the JAVA_HOME atmosphere variable.
– altering org.gradle.java.house in gradle.properties.

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments