第5天。
浏览下面列出的列表,它对我有用。
设置规格:
cordova.plugins.notification.local.schedule({
id:1,
title: 'My first notification',
text: 'finally works!'
});
我得到了
"Error: exec proxy not found for :: LocalNotification :: request"
错误。我在浏览器中看到的应该没问题。
我在手机上测试了这个,现在可以了!如果出现问题 我必须安装本地通知项目 删除项目并重新开始。我不知道为什么会这样?为什么呢 phonegap上传有错误:
Error - Some official plugins have to be updated if using PhoneGap >= 4.0.0.
Please upgrade the version of any plugins that may include the following
file: Manager.java - You can fix this here
但如果我只是将应用程序下载到我的手机上就没有问题,所以我会活下去 那个。
答案 0 :(得分:0)
如果我按照我的帖子中创建的列表,它可以工作,但不能用某种原因的phonegap。
在开始制作应用程序之前,请确保已安装完所有内容 正确设置java,设置SDK,安装node.js,安装cordova,测试一切,安装插件,构建,测试
Install cordova, java and android tools
Plugin link - local notification