gpt4 book ai didi

android - Ionic Build 或 Ionic Run 构建了错误的应用程序

转载 作者:行者123 更新时间:2023-11-29 01:26:30 25 4
gpt4 key购买 nike

我正在尝试构建运行 Ionic Cordova 应用程序。但它总是会构建一个带有播放列表的默认应用。

操作系统是 Windows 10

我在命令提示符下执行以下操作:

c:\users\martijn\documents\ionic start testapp blank

c:\users\martijn\documents\testapp\ionic run android

现在它在我的应用程序目录中构建了一个不同的应用程序。当我执行 ionic serve 时,我会在浏览器中看到正确的应用程序。无法弄清楚为什么运行或构建会给我一个不同的应用程序,我认为它是一个默认的示例应用程序。

有人可以帮忙吗?

最佳答案

查看链接:

https://github.com/driftyco/ionic-cli/issues/1283

看来您可能必须从 platforms\android\build\outputs\apk 中删除最后一个 apk 文件

关于android - Ionic Build 或 Ionic Run 构建了错误的应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33721569/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com