【发布时间】:2016-09-12 16:07:11
【问题描述】:
当我在我的 android 设备上运行我的应用程序时出现错误:
meteor run android-device --settings settings.json --mobile-server=myip:port
我已经使用 MUP (Meteor up) 在我的 VPS 中部署了我的应用程序。我设备中的应用程序似乎运行良好,并且能够与我的 VPS 通信,但出现此错误:
I20160516-20:17:03.059(2)? W/MeteorWebApp(3915):下载失败 I20160516-20:17:03.059(2)? W/MeteorWebApp(3915): com.meteor.webapp.WebAppException:解析资产清单时出错 I20160516-20:17:03.060(2)? W/MeteorWebApp(3915):在 com.meteor.webapp.AssetManifest.(AssetManifest.java:80) I20160516-20:17:03.060(2)? W/MeteorWebApp(3915):在 com.meteor.webapp.AssetBundleManager$1.onResponse(AssetBundleManager.java:112) I20160516-20:17:03.060(2)? W/MeteorWebApp(3915):在 okhttp3.RealCall$AsyncCall.execute(RealCall.java:133) I20160516-20:17:03.061(2)? W/MeteorWebApp(3915):在 okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) I20160516-20:17:03.061(2)? W/MeteorWebApp(3915):在 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) I20160516-20:17:03.061(2)? W/MeteorWebApp(3915):在 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) I20160516-20:17:03.062(2)? W/MeteorWebApp(3915):在 java.lang.Thread.run(Thread.java:818) I20160516-20:17:03.062(2)? W/MeteorWebApp(3915):引起:org.json.JSONException:值 (JSONObject.java:160) I20160516-20:17:03.063(2)? W/MeteorWebApp(3915):在 org.json.JSONObject.(JSONObject.java:173) I20160516-20:17:03.063(2)? W/MeteorWebApp(3915):在 com.meteor.webapp.AssetManifest.(AssetManifest.java:39)
我不明白为什么会出现此错误。当我在没有 --mobile-server=myip:port 的情况下在本地运行应用程序时,不会显示此错误。
【问题讨论】:
标签: cordova meteor build angular-meteor