我正在開發一個worklight應用程序。我爲該項目生成了android環境...在android應用程序中,我能夠看到背景上的主屏幕,但有一個很長時間的忙圖標,並且我無法在任何地方點擊主頁面我在模擬器上運行應用程序。一段時間後,它說:「客戶端初始化失敗。連接到服務不可用」長時間不打開應用程序
我得到以下日誌警告
Skipped 37 frames! The application may be doing too much work on its main thread.
我日誌
SQLiteLog: (14) cannot open file at line 30176 of [00bb9c9ce4]
SQLiteLog: (14) os_unix.c:30176: (2) open(/CachedGeoposition.db) -
response [http://9.124.23.225:8080/apps/services/api/RQMLight/android/heartbeat] success:
在這些錯誤我在網址上收到以下消息:
/*-secure- {"WL-Authentication-Failure":{"wl_remoteDisableRealm":{"reason":"Login Failed"}}}*/
!日誌here
我也收到錯誤
CordovaWebViewClient.onReceivedError: Error code=-6 Description=The connection to the server was unsuccessful. URL=file:///data/data/com.RQMLight/files/www/default/RQMLight.html
和
onMessage(onReceivedError,{"errorCode":-6,"url":"file:///data/data/com.RQMLight/files/www/default/RQMLight.html","description":"The connection to the server was unsuccessful."})
通常情況下,你不應該這樣做,但可能是你的網絡條件@工作增加了一些延遲...在任何情況下 - 好!請將此標記爲已回答。謝謝。 – 2013-05-20 03:20:56