You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the React Native Starter repo, I configured Android Studio Settings and Project Structure with dependencies used in the default from the template repo:
Emulator Pixel 4 API 28, Gradle 5.5/Gradle Tools 3.4.2/JDK 12/Target&Compile sdk 28, build ver 28.0.3
Run with Android Studio and Metro running in project folder -> Success -> React Native Starter home page
react-native run-android -> Failure ->
FAILURE: Build failed with an exception.
What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
... Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Thank you for any suggestions! I used the original settings because newer versions of API, JDK and Gradle caused the same issue.
The text was updated successfully, but these errors were encountered:
spinoza1791
changed the title
template installs using Android "run", but not using react-native run-android
React Native Starter template installs using Android "run", but not using react-native run-android
Jul 14, 2022
For the React Native Starter repo, I configured Android Studio Settings and Project Structure with dependencies used in the default from the template repo:
Emulator Pixel 4 API 28, Gradle 5.5/Gradle Tools 3.4.2/JDK 12/Target&Compile sdk 28, build ver 28.0.3
FAILURE: Build failed with an exception.
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
... Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Thank you for any suggestions! I used the original settings because newer versions of API, JDK and Gradle caused the same issue.
The text was updated successfully, but these errors were encountered: