javascript - react native map 执行任务 ':react-native-maps:checkDebugManifest'失败

标签 javascript android react-native gradle

map 库在旧项目中可以正常运行,其中react-native版本是0.55.3,react本地 map 是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来修复它

关于javascript - react native map 执行任务 ':react-native-maps:checkDebugManifest'失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56949141/

相关文章:

android - react-native react-navigation-drawer 在 App 启动时默认保持打开状态

java - 使用 Retrofit 请求响应刷新实时数据

android - 该 Realm 实例已被关闭,使其无法使用 + RxJava

ios - 为什么我的 native react 应用程序在录制时在后台终止(iOS,RN 0.63.3,Expo-Av 9.2.3)

javascript - 如何将一项功能分配给集合中的所有项目?

android - 从 android 移动 sdk 在 aws 中创建帐户

ios - RCTBatchedBridge.m 错误 : Invalid data message - all must be length:%zd. React Native,iOS 模拟器

javascript - TypeScript 中的类型级 Catalan 函数

javascript - 将对象与新值连接起来并将其转换为数组

javascript - for循环使输出并排jquery