Vue.js 插件nativescript fancyalert不适用于Android

Vue.js 插件nativescript fancyalert不适用于Android,vue.js,nativescript,nativescript-plugin,Vue.js,Nativescript,Nativescript Plugin,err响应为: [TypeError:cn.refactor.lib.colordialog.PromptDialog不是构造函数] 发件人: 我做错什么了吗?我以前遇到过这个问题 尝试rm-rf平台/android 然后再次运行tns运行andoid--bundle 希望这有帮助!干杯 TNSFancyAlert.showSuccess( "Success!", "Fancy alerts are nice.", "Yes they are!", ) .then(()

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

发件人:


我做错什么了吗?

我以前遇到过这个问题

尝试
rm-rf平台/android

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

希望这有帮助!干杯

TNSFancyAlert.showSuccess(
    "Success!",
    "Fancy alerts are nice.",
    "Yes they are!",
)
.then(() => {
    console.log("success")
}).catch(err => {
    console.log(err)
})