繁体   English   中英

React本机地图执行任务':react-native-maps:checkDebugManifest'失败

[英]React native maps Execution failed for task ':react-native-maps:checkDebugManifest'

地图库在带有react native的旧项目中可以正常工作,其中react-native版本是0.55.3而react native地图是0.23.0

在建立Android的新项目中,即在构建应用程序时,我不断收到以下错误:

info JS server already running.
info Building and installing the app on the device (cd android && ./gradlew app:installAgroShopDebug)...

> Configure project :app
WARNING: API 'variant.getAssemble()' is obsolete and has been replaced with 'variant.getAssembleProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getAssemble(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.

> Task :react-native-maps:checkDebugManifest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-maps:checkDebugManifest'.
> Failed to create parent directory '/home/shockwav3/Downloads/mFarming/newRN/mFarming/node_modules/react-native-maps/lib/android/build/intermediates/check_manifest_result' when creating directory '/home/shockwav3/Downloads/mFarming/newRN/mFarming/node_modules/react-native-maps/lib/android/build/intermediates/check_manifest_result/debug/checkDebugManifest/out'

帮助将不胜感激。

升级react-native时,我遇到了类似的问题。 奇怪的是我通过使用sudo运行metro修复了它

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM