【问题标题】:Plugin nativescript-fancyalert not working on Android插件 nativescript-fancyalert 无法在 Android 上运行
【发布时间】:2023-03-31 02:03:01
【问题描述】:
TNSFancyAlert.showSuccess(
    "Success!",
    "Fancy alerts are nice.",
    "Yes they are!",
)
.then(() => {
    console.log("success")
}).catch(err => {
    console.log(err)
})

错误响应是: [TypeError: cn.refactor.lib.colordialog.PromptDialog 不是构造函数]

发件人:https://github.com/NathanWalker/nativescript-fancyalert

我是不是做错了什么?

【问题讨论】:

    标签: vue.js nativescript nativescript-plugin


    【解决方案1】:

    我之前遇到过这个问题

    试试rm -rf platforms/android

    然后再次运行tns run andoid --bundle

    希望这会有所帮助!干杯

    【讨论】:

      猜你喜欢
      • 2021-08-20
      • 1970-01-01
      • 1970-01-01
      • 2019-03-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多