Flutter Notification OneSignal-无法确定任务'(app:compileDebugJavaWithJavac'的依赖项)
黄沙百战穿金甲,不破楼兰终不还。这篇文章主要讲述Flutter Notification OneSignal-无法确定任务'
:app:compileDebugJavaWithJavac'
的依赖项相关的知识,希望能为你提供帮助。
【Flutter Notification OneSignal-无法确定任务'
(app:compileDebugJavaWithJavac'
的依赖项)】[今天(19/03/2020)下午1点之后,我无法再编译Flutter应用程序。昨天我遵循了文档(https://documentation.onesignal.com/docs/flutter-sdk-setup)中的所有步骤,并且运行良好。我对fluter的版本如下,并且是一个信号:
Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [vers?£o 10.0.18363.720], locale pt-BR)
onesignal_flutter: ^2.3.4
显示以下错误:
FAILURE: Build failed with an exception.* What went wrong:
Could not determine the dependencies of task ':app:compileDebugjavaWithJavac'.
>
Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
>
Could not find any matches for com.onesignal:OneSignal:[3.11.2,3.99.99] as no versions of com.onesignal:OneSignal are available.
Required by:
project :app
>
Could not find any matches for com.onesignal:OneSignal:[3.11.2,3.99.99] as no versions of com.onesignal:OneSignal are available.
Required by:
project :app >
project :onesignal_flutter* 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.orgBUILD FAILED in 20s
答案在app / build.gradle中更新onesignal似乎可以解决它
dependencies {
// (OLD) implementation 'com.onesignal:OneSignal:3.11.4, 3.99.99'
implementation 'com.onesignal:OneSignal:3.12.7'
}
推荐阅读
- 使用create-react-app的其他HtmlWebpackPlugin()页面
- 用于App Service的地形名称“ xxx”必须是全局唯一的,并且不可用”
- 像webapp.to一样开发移动应用程序
- Android(未加载测试广告)
- 如何将我在Android Studio中制作的应用程序放入手机中()
- Android jetpack生物识别DeviceCredentialHandlerActivity输出=真的需要吗()
- ASP.NET CORE没有app.UseEndpoints()方法
- 在Express中,app.router到底做了什么()
- 如何以编程方式从Symfony 3表单(表单类型)中删除字段