Guest User

Guest User

  • Tech Writer
  • 2.1k
  • 481.9k

Build failed when run react-native using expo cli

Feb 10 2023 11:36 AM

Hi Team

How do i resolve this issue below, i am creating a react-native using VS code and want to use React-Native CLI. But when i ran the command on the terminal npx react-native run-android/start it crashes this below error.

// Error on the terminal.

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file 'C:\React_Apps\React_Developments\eCommerce\android\settings.gradle' (C:\Users\Zux\.gradle\caches\7.5.1\scripts\5rpxaq3rgq1fbs19q6t5wlamv).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 63

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.


Answers (1)