【问题标题】:Phonegap build refuses to update my app when I upload a new zip file当我上传新的 zip 文件时,Phonegap 构建拒绝更新我的应用程序
【发布时间】:2015-12-08 16:58:46
【问题描述】:

我正在使用 Phonegap Build 为 IOS/Android 构建。目前只是一个测试应用程序,但我很困惑。我压缩了我的应用文件夹:

myApp/
    config.xml
    /www
        index.html
        index.js
myApp.zip <- I create the zip file at this level (only main files shown here)

我的问题是,我已经完全改变了index.html和index.js文件,重新压缩文件,上传到PhoneGap Build,但它坚持显示原始index.html文件并执行原始索引。 .js 文件。在本地,在我的 iPhone 上使用 PhoneGap 应用程序时,我可以在 :3000 浏览我的 IP 地址时看到更改,但 PhoneGap 拒绝看到我进行了更改。非常令人沮丧。任何人都知道如何强制 PhoneGap Build 醒来并闻到咖啡的味道?我已经通过网络界面完全删除了该应用程序并重新构建,它仍然显示旧版本。任何帮助表示赞赏,

提前致谢,

维特纳

【问题讨论】:

    标签: javascript ios cordova phonegap-build


    【解决方案1】:

    好的,我想这可能是答案。自从我使用 PhoneGap 已经有一段时间了,我使用样板代码和结构进行测试。我将 config.xml 移到 www 目录中并从其中压缩文件。现在可以上传了。

    【讨论】:

    • 是的,afaik,config.xml 需要在 www 中并将 www.zip 上传到 phonegap build。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多