Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/188.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 无法从真实设备运行应用程序_Android_Ibm Mobilefirst - Fatal编程技术网

Android 无法从真实设备运行应用程序

Android 无法从真实设备运行应用程序,android,ibm-mobilefirst,Android,Ibm Mobilefirst,我正试图用MobileFirst 7.0在真实设备上测试我的应用程序。它可以在模拟器和web浏览器中完美地工作 调用http适配器时从设备运行时会生成此错误: 06-17 18:42:29.358: D/CordovaActivity(7679): Resuming the App 06-17 18:42:29.398: D/WLClient(7679): WLClient$ActivityListener.onActivityStarted in WLClient.java:1434 :: o

我正试图用MobileFirst 7.0在真实设备上测试我的应用程序。它可以在模拟器和web浏览器中完美地工作

调用http适配器时从设备运行时会生成此错误:

06-17 18:42:29.358: D/CordovaActivity(7679): Resuming the App
06-17 18:42:29.398: D/WLClient(7679): WLClient$ActivityListener.onActivityStarted in WLClient.java:1434 :: on activity started com.Delivery.Delivery
06-17 18:42:29.408: D/WLClient(7679): WLClient$ActivityListener.onActivityResumed in WLClient.java:1423 :: on activity resumed com.Delivery.Delivery . activity count = 1
06-17 18:42:33.698: W/PluginManager(7679): THREAD WARNING: exec() call to NativeBusyIndicator.show blocked the main thread for 178ms. Plugin should use CordovaInterface.getThreadPool().
06-17 18:42:33.818: D/NONE(7679): establishSSLClientAuth
06-17 18:42:33.858: W/PluginManager(7679): THREAD WARNING: exec() call to UserAuth.init blocked the main thread for 18ms. Plugin should use CordovaInterface.getThreadPool().
06-17 18:42:33.998: W/PluginManager(7679): THREAD WARNING: exec() call to UserAuth.isCertificateExists blocked the main thread for 83ms. Plugin should use CordovaInterface.getThreadPool().
06-17 18:42:34.028: D/NONE(7679): establishSSLClientAuth isCertificateExists:  false
06-17 18:42:34.048: D/NONE(7679): Request [/apps/services/api/Delivery/android/query]
06-17 18:42:34.708: W/PluginManager(7679): THREAD WARNING: exec() call to WLAuthorizationManagerPlugin.getClientInstanceIdHeader blocked the main thread for 625ms. Plugin should use CordovaInterface.getThreadPool().
06-17 18:42:34.748: D/wl.request(7679): WLRequestSender.run in WLRequestSender.java:40 :: Sending request http://192.168.43.73:10080/Delivery/authorization/v1/clients/instance
06-17 18:42:45.228: D/wl.certManager(7679): WLCertManager.clearKeystore in WLCertManager.java:258 :: Key store cleared.
06-17 18:42:45.358: W/PluginManager(7679): THREAD WARNING: exec() call to WLAuthorizationManagerPlugin.deleteAllAuthData blocked the main thread for 110ms. Plugin should use CordovaInterface.getThreadPool().
06-17 18:42:45.368: D/wl.certManager(7679): WLCertManager.clearKeystore in WLCertManager.java:258 :: Key store cleared.
06-17 18:42:45.638: W/PluginManager(7679): THREAD WARNING: exec() call to WLAuthorizationManagerPlugin.getClientInstanceIdHeader blocked the main thread for 271ms. Plugin should use CordovaInterface.getThreadPool().
06-17 18:42:45.638: D/wl.request(7679): WLRequestSender.run in WLRequestSender.java:40 :: Sending request http://192.168.43.73:10080/Delivery/authorization/v1/clients/instance
06-17 18:42:55.838: D/wl.certManager(7679): WLCertManager.clearKeystore in WLCertManager.java:258 :: Key store cleared.
06-17 18:42:55.868: D/NONE(7679): Client registration failed with error: {"status":500,"responseHeaders":{},"responseText":"","invocationContext":null}
06-17 18:42:55.878: E/NONE(7679): [/apps/services/api/Delivery/android/query] failure. state: 500, response: undefined
试图从中解决问题,但运气不佳

尝试从MobileFirst控制台中删除我的设备,从设备中删除应用程序并再次运行Android项目,但现在我的设备无法显示在控制台中

有什么不对劲的地方吗

注意


我把手机拴在笔记本电脑上以连接互联网,并将MF服务器的IP设置为笔记本电脑的IP

好,所以根据帖子,我真的不能使用拴线。当我使用wifi时,它的工作原理与预期一致

我不知道为什么会发生这种情况,因为我的手机可以ping和telnet MobileFirst服务器的IP和端口,但应用程序无法工作