I'm encountering an error when running ./gradlew assembleDebug in my React Native project.
The error message:
> Configure project :app
Reading env from: .env
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileProductionDebugJavaWithJavac'.
> Could not determine the dependencies of null.
> Could not resolve all dependencies for configuration ':app:androidJdkImage'.
> Invalid format: 'com.facebook.react:react-native:'. Group, name and version cannot be empty. Correct example: '.gradle:gradle-core:1.0'
What I've tried: Deleting node_modules and running yarn install again.
Running cd android && ./gradlew clean before building.
Checking android/app/build.gradle but couldn't find any empty dependencies.
Verifying android/gradle.properties to ensure there are no invalid entries.
React Native: 0.73
Gradle: 8.0
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744216287a4563570.html
评论列表(0条)