无法从真实设备运行应用

伦迪

我正在尝试使用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和端口,但该应用程序无法正常工作。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

无法在真实设备的vs代码中运行flutter应用

Android Studio应用可在真实设备上运行,但无法在模拟器上运行

Flutter应用程序无法在真实设备或仿真器上运行

由于gradle已过时,因此无法在真实设备上运行android应用

检测在模拟器或真实设备上运行的应用

在真实设备上运行Android应用程序

使用“ LinkedIn”登录无法在真实设备中运行

无法在真实设备上运行自动化脚本

Ionic 3:PDFmake 无法在真实设备上运行

Appium无法将应用安装到真实设备

在真实设备中重新加载应用

在真实设备上安装应用程序后,“除非您更新Google Play服务,否则该应用程序将无法运行”

如何在真实设备上运行/测试Flutter应用程序?

如何在真实设备上运行android应用程序?

当我在真实设备 iOS 中运行它时应用程序崩溃

在真实设备上运行时,Android应用程序图标背景颜色不同

应用程序未在真实设备上显示listview,但在模拟器上运行

该应用程序可以在AVD上正常运行,但不能在真实设备上

将flutter应用程序运行到真实设备时获取权限问题

尝试使用 vs 代码在真实设备上运行我的 flutter 应用程序

无法使用 Windows 10 机器在 iOS 真实设备上运行 appium 测试

仅在真实设备上无法在模拟器上运行Xcode项目

Chrome驱动程序无法在使用Appium的android真实设备上运行

无法在真实设备上的iOS 10上运行Appium测试

AFNetworking有时无法在真实设备上的iOS 8和9上运行

我无法连接到真实设备的离子3G应用程序

Xamarin Forms应用程序无法部署到Android 10真实设备

Android真实设备无法解析Mac OS上制作的应用

应用程序可在真实设备和模拟器上正常运行,但在生成APK时无法正常工作