ReactNative错误:任务':react-native-reanimated:checkDebugManifest'的执行失败

时间:2019-12-15 18:56:18

标签: android react-native

我开始从事React Native项目的工作。但是我现在有一个问题。我建立了一个简单的项目并执行predicate object <http://www.w3.org/2002/07/owl#sameAs> <http://localhost:3030/eb/NewSchool/1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://localhost:3030/eb/Escola> <http://schema.org/name> "Escola 1" 。但是发生了错误。

react-native run-android

然后我用info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. Jetifier found 954 file(s) to forward-jetify. Using 6 workers... info Starting JS server... info Installing the app... > Task :app:createDebugCompatibleScreenManifests 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 40 actionable tasks: 12 executed, 28 up-to-date FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:createDebugCompatibleScreenManifests'. > Failed to create directory 'E:\web_project\fcManager\app\svn_prj\02_source\fcmanager\android\app\build\intermediates\compatible_screen_manifest\debug\createDebugCompatibleScreenManifests\out' * 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 7s 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:createDebugCompatibleScreenManifests'. > Failed to create directory 'E:\web_project\fcManager\app\svn_prj\02_source\fcmanager\android\app\build\intermediates\compatible_screen_manifest\debug\createDebugCompatibleScreenManifests\out' * 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 清除了缓存,然后再次执行yarn start --reset-cache。再次出错。但是后面的错误不同于前面的错误。 可能是个问题吗?

1 个答案:

答案 0 :(得分:0)

哇。我解决了这个问题。

>cd android
android>./gradlew clean

然后将apk成功安装在模拟器上。