Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/react-native/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
React native 反应本机嵌套滚动视图:processDebugManifest失败_React Native - Fatal编程技术网

React native 反应本机嵌套滚动视图:processDebugManifest失败

React native 反应本机嵌套滚动视图:processDebugManifest失败,react-native,React Native,我正在使用模块:react native sticky parallax header 我会毫无问题地按照以下步骤进行操作: yarn add react-native-sticky-parallax-header react-native link react-native-nested-scroll-view yarn add patch-package postinstall-postinstall "scripts": { + "postinstall": "patch-pack

我正在使用模块:react native sticky parallax header

我会毫无问题地按照以下步骤进行操作:

yarn add react-native-sticky-parallax-header

react-native link react-native-nested-scroll-view

yarn add patch-package postinstall-postinstall

"scripts": {
+  "postinstall": "patch-package"
}
但当我真的运行android时,我得到:

info Starting JS server...
info Building and installing the app on the device (cd android && gradlew.bat app:installDebug)...
Downloading https://services.gradle.org/distributions/gradle-4.10.2-all.zip
...............................................................................................................
Unzipping C:\Users\Diogo\.gradle\wrapper\dists\gradle-4.10.2-all\9fahxiiecdb76a5g3aw9oi8rv\gradle-4.10.2-all.zip to C:\Users\Diogo\.gradle\wrapper\dists\gradle-4.10.2-all\9fahxiiecdb76a5g3aw9oi8rv

Welcome to Gradle 4.10.2!
> Task :react-native-nested-scroll-view:processDebugManifest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Failed to create directory 'C:\Users\Diogo\Documents\ProjetosMobile\newproject\node_modules\react-native-nested-scroll-view\android\build\intermediates\merged_manifests\debug'
> root project > Resolve dependencies of :classpath
* 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.
> IDLE
* Get more help at https://help.gradle.org

BUILD FAILED in 3m 43s
2 actionable tasks: 2 executed
error Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
error Command failed: gradlew.bat app:installDebug. Run CLI with --verbose flag for more details.
我穿: react本机cli:2.0.1 反应本机:0.59.8
node:v10.13.0

错误表示可以使用
--stacktrace
--info
--debug
运行命令以获取更多详细信息。尝试一下,如果没有帮助,请用更多细节编辑您的问题。@DCTID,非常感谢您的回答。我不知道模拟器根本没有运行。所以我打开了android studio,在AVD管理器中运行模拟器,然后:cd android&&gradlew clean&&cd..&&react native run android,正如我在to-create-directory-project-android-app-build-intermediates-res-merged-d中发现的那样。现在一切都对我有利。