我正在尝试将 cordova-plugin-local-notifications 插件添加到我的 android 项目中。
我正在添加 implementation 'com.github.katzer:cordova-plugin-local-notification'
under dependencies,到我的应用程序 gradle 文件中。但是 Gradle 找不到插件。
错误:Supplied String module notation 'Failed to resolve: com.github.katzer:cordova-plugin-local-notification:
插件链接:https://github.com/katzer/cordova-plugin-local-notifications/
感谢您的帮助。
最佳答案
您需要按照教程中的步骤操作:
https://cordova.apache.org/docs/en/latest/guide/cli/
如果尚未安装 Android,您可以在这里找到如何安装:
以及如何安装插件。
关于android - 带有 "cordova-plugin-local-notifications"插件的本地通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50283210/