我正在使用IBM MobileFirst Plaform开发移动应用程序。无法在Android设备上测试应用程序
当我在浏览器,手机模拟器和android模拟器测试应用程序的应用程序工作正常。当我在我的android设备上部署apk文件并运行应用程序未运行时。当我检查logcat时,我有以下错误。
I/Web Console(20334): processMessage failed: Message: F09 WLAuthorizationManagerPlugin1268447688 {"wlFailureStatus":"UNRESPONSIVE_HOST","status":500,"responseText":"","statusText":"The service is currently not available."} at file:///android_asset/www/default/worklight/cordova.js:1063
我的两个笔记本电脑和手机都连接到同一个wifi网络
仍尝试同样的错误 –
D/wl.request(28874):WLRequestSender.java:WLRequestSender.run:40发送请求http://192.168.100.16:10080/CustomLoginModule/authorization/v1/clients/instance (28874):GC_CONCURRENT已释放5784K,41%免费8825K/14844K,暂停6ms + 4ms,总计59msD/wl.certManager(28874):WLCertManager.java:258 :: Key存储清除WLCertManager.clearKeystore。 (28874):客户端注册失败,错误:“status”:500,“responseHeaders”:},“responseText”:“”,“invocationContext”:null} E/NONE(28874):[/ apps/services/api/CustomLoginModule/android/query] failure.state:500,response:undefined –
您的移动设备如何连接到网络?通过WiFi(在您自己的网络上),还是您正在使用移动运营商的数据网络?如果您使用的是移动运营商的数据网络,您将无法联系“192.168.100.16”,这是一个非公开的IP地址。 – patbarron