从 MobileFirst Studio 将 .apk 发布到 IBM Application Center

Publishing an .apk into IBM Application Center from MobileFirst Studio

我正在尝试将 HelloWorld android 应用程序发布到 IBM Application Center Server,但是当我从我的 MobileFirst Studio 中尝试时出现此错误:

An error occurred while attempting to publish an application to the IBM Application Center server. Verify that the URL (protocol, host, port number and context) is correct for the server to which you attempt to connect. These settings are available in the IBM Application Center preferences page.

FWLAC0804E
Unable to connect
Http
//(myIP)
9080/appcenterconsole/service/desktop/upload/filetype/apk
    Perhaps the context is wrongly specified.
    File
/home/myUser/workspace/HelloWorld/apps/myHello/android/native/bin/HelloWorldMyHelloAndroid.apk

我已经启动了我的服务器,我也检查了我的应用程序中心的 IP...

另一方面,如果我尝试直接在我的应用中心发布这个 .apk,我可以毫无问题地上传它...

这是我配置与 App Center 的连接的方式:

(Image) My Application Center configuration in MobileFirst Studio

在我看来你用错了 URL。

请参阅此文档主题:http://www.ibm.com/support/knowledgecenter/SSHS8R_7.1.0/com.ibm.worklight.appadmin.doc/appcenter/t_publishing_worklight_applicati.html?lang=en

您应该使用的 URL 是:http://host-or-ip:port/applicationcenter,而您使用的是 "appcenterconsole"