Merhabalar,
React Native'i kurdum Anroid Studio üzerinden build ettiğimde herhangi bir sorun olmuyor.Lakin cmd üzerinden çalıştırmaya çalıştığımda;
error Failed to install the app. Make sure you have the Android development environment set up:
https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
* What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
* 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.
* Get more help at
https://help.gradle.org
bu hatayı alıyorum sebebi ne olabilir?