【问题标题】:Meteor cordova build fails because com.meteor.cordova-update.tgz is not foundMeteor cordova 构建失败,因为找不到 com.meteor.cordova-update.tgz
【发布时间】:2015-12-08 08:28:12
【问题描述】:

我一直在尝试为 Android 和 iOS 构建一个流星科尔多瓦应用程序。 当我尝试仅为 iOS 构建时,一切运行顺利。 之后我添加了Android平台然后运行

meteor build ~/builds --server myserver.meteor.com

我收到一个非常奇怪的错误:

Error while building for mobile platforms: Error running curl % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 181 0 181 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 145 0 --:--:-- 0:00:01 --:--:-- 145 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0Warning: Failed to create the file Warning: /Users/idoivri/Sites/projects/alternative-tel-aviv/.meteor/local/cordo Warning: va-build/local-plugins/com.meteor.cordova-update.tgz: No such file or Warning: directory curl: (23) Failed writing body (0 != 833)

想知道什么是 com.meteor.cordova-update.tgz 以及为什么它在构建 Android APK 时似乎会导致错误?

【问题讨论】:

    标签: android cordova curl meteor


    【解决方案1】:

    我遇到了几乎完全相同的问题,不同之处在于 iOS 无法正常工作。删除cordova平台并重置项目对我有用:

    meteor remove-platform ios
    meteor reset
    meteor add-platform ios
    

    【讨论】:

      【解决方案2】:

      实际上,问题可能源于 Cordova 中软件包的性质变化,以及我当时的 Meteor 版本 1.1.0.3。

      运行Meteor update 将版本升级到 1.2 以彻底解决问题。据 Meteor 的开发人员称,在 Meteor 1.2 中,Cordova 应用程序的整个包装都重新完成了。

      【讨论】:

        猜你喜欢
        • 2015-08-28
        • 1970-01-01
        • 2019-08-06
        • 2016-01-14
        • 1970-01-01
        • 2019-03-27
        • 1970-01-01
        • 2013-06-21
        • 1970-01-01
        相关资源
        最近更新 更多