我正在尝试将IonicNative LocalNotifications(https://ionicframework.com/docs/native/local-notifications/)与Ionic 5上的电容器一起使用。 当我尝试在android上运行该应用时,Android Studio会引发错误:
该错误发生在模块“ capacitor-cordova-android-plugins”中。在相应的function updateCountdown() {
var timeLeft = Math.round(vid.duration) - Math.round(vid.currentTime);
if (timeLeft == 10 && shown == false) {
console.log(timeLeft)
// here i want to trigger the css
shown = true
}else if (timeLeft < 2) {
vid.removeEventListener('timeupdate', updateCountdown);
// here i want to relase the css back
}
}
中实现了支持库:
如何使该应用编译?我真的不知道从哪里开始,所以请告诉我,如果您需要任何进一步的信息。
答案 0 :(得分:1)