0

BUILD FAILED in 7s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

  • What went wrong: A problem occurred configuring project ':react-native-image-crop-picker'.

Could not open proj generic class cache for build file 'D:\OCR\node_modules\react-native-image-crop-picker\android\build.gradle' (C:\Users\nandl.gradle\caches\7.5.1\scripts\bur88vdw3wcsl4j1x88z00g9i). 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.

BUILD FAILED in 7s

at makeError (D:\OCR\node_modules\execa\index.js:174:9)
at D:\OCR\node_modules\execa\index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (D:\OCR\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (D:\OCR\node_modules\@react-native-community\cli\build\index.js:142:9)

info Run CLI with --verbose flag for more details. PS D:\OCR>

James
  • 20,957
  • 5
  • 26
  • 41
ND verma
  • 171
  • 1
  • 9
  • Check https://stackoverflow.com/questions/32513740/gradle-build-failure-could-not-open-proj-class-cache-for-build-file – James Sep 29 '22 at 18:34

0 Answers0