Home > Enterprise >  Problem with running react-native android on mac Os
Problem with running react-native android on mac Os

Time:11-14

i am new to react native running yarn android i get an error concerning gradle...

i will be greatfull if anyone can help me..

`FAILURE: Build failed with an exception.

  • Where: Settings file '/Users/username/Desktop/personal projects/appname/android/settings.gradle'

  • What went wrong: Could not compile settings file '/Users/username/Desktop/personal projects/appname/android/settings.gradle'.

startup failed: General error during semantic analysis: Unsupported class file major version 61

java.lang.IllegalArgumentException: Unsupported class file major version 61`

CodePudding user response:

I think the problem is being caused because of one of the following reasons;

  1. Misconfigured Java Run-time
  2. Misconfigured Android SDK

I'd advise you to follow the guide at ReactNative.dev

  • Related