Javascript 反应本机运行Android错误(在checkExecSyncError(child_process.js:621:11))

Javascript 反应本机运行Android错误(在checkExecSyncError(child_process.js:621:11)),javascript,react-native,react-native-android,Javascript,React Native,React Native Android,当我运行android时,会抛出以下错误: > Task :app:transformNativeLibsWithMergeJniLibsForDebug FAILED Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warni

当我运行android时,会抛出以下错误:

    > Task :app:transformNativeLibsWithMergeJniLibsForDebug FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.5/userguide/command_line_interface.html#sec:command_line_warnings
24 actionable tasks: 2 executed, 22 up-to-date

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug'.
> Could not read path 'C:\Users\Maxson52\Documents\Coding-Projects\Schoolio\android\app\build\intermediates\transforms\mergeJniLibs\debug\0\lib\armeabi-v7a'.

* 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 44s

error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. 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:
Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug'.
> Could not read path 'C:\Users\Maxson52\Documents\Coding-Projects\Schoolio\android\app\build\intermediates\transforms\mergeJniLibs\debug\0\lib\armeabi-v7a'.

* 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 44s

    at checkExecSyncError (child_process.js:621:11)
    at execFileSync (child_process.js:639:15)
    at runOnAllDevices (C:\Users\Maxson52\Documents\Coding-Projects\Schoolio\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:74:39)
    at buildAndRun (C:\Users\Maxson52\Documents\Coding-Projects\Schoolio\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:158:41)
    at C:\Users\Maxson52\Documents\Coding-Projects\Schoolio\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:125:12
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async Command.handleAction (C:\Users\Maxson52\Documents\Coding-Projects\Schoolio\node_modules\react-native\node_modules\@react-native-community\cli\build\cliEntry.js:160:7)
我用react native init创建了一个全新的项目,并尝试运行它,但我得到了相同的错误

我已尝试从项目(不执行任何操作)和从
Users/Maxson52/.gradle/caches
中删除
.gradle/caches
文件夹,但都无法解决问题

我不使用Expo,因为我更喜欢创建react本机应用程序,但我的一个项目(我已经尝试过)都不再有效了。我不相信我已经安装或删除了任何重要的东西,但对于如何尝试的提示,我将不胜感激

当我试着运行我的项目时,我不知道为什么什么都没有运行,我的手机已经插好并准备好了


编辑了整个错误。注意到一些关于不推荐的gradle的信息,尽管它是一个新制作的react原生项目,但问题在于如何解决它?

在stacktrace上面,可能还有一些更有用的信息,请包括从文本
*出错原因
开始到结束的完整错误更新。在堆栈跟踪上方可能有更有用的内容,请包括从文本
*出错原因
开始到结束的完整错误更新。