2015-06-17 2 views
0

Я пытаюсь протестировать приложение в реальном устройстве с помощью MobileFirst 7.0. Он отлично работает в эмуляторе и в веб-браузере.Не удается запустить приложение с реального устройства

Он генерирует эту ошибку при работе с устройством после вызова 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 

Пытался сделать решение от here, но не повезло.

Пробовал удалить устройство с консоли MobileFirst, удалить приложение с устройства и запустить проект Android еще раз, но теперь мое устройство не может появиться на консоли.

Любые советы, что может быть неправильным?

Примечание:

Я привязал свой телефон к ноутбуку, чтобы получить подключение к Интернету и установить IP сервера MF на мой ноутбук IP

ответ

0

ИТАК согласно сообщению here, я действительно могу» t используйте привязку. Когда я использую Wi-Fi, он работает так, как ожидалось.

Я не уверен, почему это происходит, потому что на моем телефоне можно выполнить ping и telnet IP и порт сервера MobileFirst, но приложение не может работать.

Смежные вопросы