gpt4 book ai didi

javascript - 无法确定任务 ':react-native-onesignal:compileDebugAidl' 的依赖关系

转载 作者:行者123 更新时间:2023-11-28 03:25:00 25 4
gpt4 key购买 nike

安装一个信号后,它会在终端中抛出以下错误

失败:构建因异常而失败。

  • 出了什么问题:无法确定任务“:react-native-onesignal:compileDebugAidl”的依赖关系。

    Could not resolve all task dependencies for configuration ':react-native-onesignal:debugCompileClasspath'. Could not find any version that matches com.google.android.gms:play-services-ads-identifier:12.+. Versions that do not match:

    • 17.0.0
    • 16.0.0
    • 15.0.1
    • 15.0.0 Required by: project :react-native-onesignal > com.onesignal:OneSignal:3.12.2

NPM版本5.6.0

节点版本9.8.0

这是我的 package.json 文件

"dependencies": {
"accordion-collapse-react-native": "^0.1.11",
"moment": "^2.24.0",
"native-base": "^2.12.1",
"react": "16.8.3",
"react-native": "0.59.9",
"react-native-admob": "^2.0.0-beta.6",
"react-native-af-video-player": "^0.2.1",
"react-native-elements": "^1.2.0",
"react-native-fbsdk": "^1.0.4",
"react-native-gesture-handler": "^1.4.1",
"react-native-google-signin": "^2.1.0",
"react-native-htmlview": "^0.14.0",
"react-native-image-picker": "^1.1.0",
"react-native-keep-awake": "^4.0.0",
"react-native-linear-gradient": "^2.5.6",
"react-native-material-textfield": "^0.12.0",
"react-native-modal": "^11.3.1",
"react-native-onesignal": "^3.5.0",
"react-native-orientation": "^3.1.3",
"react-native-popup-menu": "^0.15.6",
"react-native-searchbar": "^1.16.0",
"react-native-simple-toast": "0.0.8",
"react-native-swiper": "^1.5.14",
"react-native-vector-icons": "^6.6.0",
"react-native-video": "^5.1.0-alpha1",
"react-native-video-controls": "^2.2.3",
"react-navigation": "^3.11.0",
"rn-fetch-blob": "^0.11.2"
}

1 按照文档安装一个信号。

最佳答案

与错误消息一样,您应该更新版本。目前支持版本不匹配。

'com.google.android.gms:play-services-ads : 16.0.0'

关于javascript - 无法确定任务 ':react-native-onesignal:compileDebugAidl' 的依赖关系,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58728750/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com