forked from facebook/react-native-website
-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
按照官方文档搭建开发环境,编译应用的时候一直报错 #838
Comments
jdk版本不对 |
请问最后解决了吗? |
最后怎么解决了啊 |
我也是一样的问题 |
JDK版本不对,就对着文档弄成文档需要的JDK版本 |
目前已经解决,使用android studio打开项目,等他自己安装,爆红后点击控制台左边得刷新按钮【reload gradle project】失败了再多点几次,然后就好了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题的具体描述
BUILD FAILED in 2s
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'AwesomeProject'. > Could not determine the dependencies of null. > Could not resolve all dependencies for configuration ':classpath'. > The new Java toolchain feature cannot be used at the project level in combination with source and/or target compatibility * 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 BUILD FAILED in 2s.
info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered: