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;
- Misconfigured Java Run-time
- Misconfigured Android SDK
I'd advise you to follow the guide at ReactNative.dev