heremaps / here-android-sdk-examples

Java-based projects using the HERE SDK for Android.
Apache License 2.0
145 stars 191 forks source link

E/NetworkProtocol: NetworkProtocol::GetTask::run exception: java.io.InterruptedIOException: thread interrupted #288

Closed sergio239new closed 5 years ago

sergio239new commented 5 years ago

Hi,

just build and installed on Android 9/LG phone.

After start, it shows the map somewhere in Tampere and stock on it with "waiting for fix.." message. and in log:

W/ConnectivityManager.CallbackHandler: callback not found for CALLBACK_AVAILABLE message W/ConnectivityManager.CallbackHandler: callback not found for CALLBACK_AVAILABLE message I/Adreno: PFP: 0x016ee176, ME: 0x00000000 I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 I/OpenGLRenderer: Initialized EGL, version 1.4 D/OpenGLRenderer: Swap behavior 2 E/NetworkProtocol: NetworkProtocol::GetTask::run exception: java.io.InterruptedIOException: thread interrupted W/System.err: java.io.InterruptedIOException: thread interrupted W/System.err: at com.android.okhttp.okio.Timeout.throwIfReached(Timeout.java:145) at com.android.okhttp.okio.Okio$1.write(Okio.java:73) at com.android.okhttp.okio.AsyncTimeout$1.write(AsyncTimeout.java:155) at com.android.okhttp.okio.RealBufferedSink.flush(RealBufferedSink.java:221) at com.android.okhttp.internal.http.Http1xStream.finishRequest(Http1xStream.java:161) at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:735) at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:609) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:471) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:407) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:538) at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105) at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:26) at com.here.network.NetworkProtocol$GetTask.doInBackground(NetworkProtocol.java:49) at com.here.network.NetworkProtocol$GetTask.doInBackground(NetworkProtocol.java:1) at android.os.AsyncTask$2.call(AsyncTask.java:333) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:764) V/VenuesAndLogging.BasicVenueActivity: InitializeVenueMaps: OnEngineInitializationCompleted V/VenuesAndLogging.BasicVenueActivity: setVenueServiceContent: Combined = false, Private = false D/TextureView: getHardwareLayer, createNewSurface:true I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@46e09ce time:168140434 V/VenuesAndLogging.BasicVenueActivity: VenueServiceListener: OnInitializationCompleted with result: OFFLINE_SUCCESS V/VenuesAndLogging.BasicVenueActivity: Start of Positioning Updates W/enuesandloggin: Class com.nokia.maps._d failed lock verification and will run slower. Common causes for lock verification issues are non-optimized dex code and incorrect proguard optimizations. V/VenuesAndLogging.BasicVenueActivity: onDiagnosticEvent: [info] licensed features: [privateIndoor, radioMapApiIndoor] Location method set to GPS_NETWORK V/VenuesAndLogging.BasicVenueActivity: onMapTransformStart V/VenuesAndLogging.BasicVenueActivity: onMapTransformEnd V/VenuesAndLogging.BasicVenueActivity: onDiagnosticEvent: [info] method: GPS_NETWORK licensed features: [privateIndoor, radioMapApiIndoor] V/VenuesAndLogging.BasicVenueActivity: VenueServiceListener: OnInitializationCompleted with result: ONLINE_SUCCESS V/VenuesAndLogging.BasicVenueActivity: Start of Positioning Updates onDiagnosticEvent: [info] licensed features: [privateIndoor, radioMapApiIndoor] Location method set to GPS_NETWORK V/VenuesAndLogging.BasicVenueActivity: onDiagnosticEvent: [info] method: GPS_NETWORK licensed features: [privateIndoor, radioMapApiIndoor] V/VenuesAndLogging.BasicVenueActivity: onMapTransformStart V/VenuesAndLogging.BasicVenueActivity: onMapTransformEnd Connected to process 30873 on device 'lge-lm_g710-LMG710EMac292bc9'.

starand commented 5 years ago

@sergio239new thank you for reporting. We will take a look. Did you build here github sample or your own application?

sergio239new commented 5 years ago

@starand > Did you build here github sample or your own application? i build github sample. Just added HERE sdk and credentials.

Now i tested same on samsung-sm_g900f-db9c9582 and had same result, same error and stock on that "waiting for fix.." message:

$ adb shell am start -n "com.here.android.example.venuesandlogging/com.here.android.example.venuesandlogging.BasicVenueActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Connected to process 6999 on device 'samsung-sm_g900f-db9c9582'. Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. W/ResourcesManager: getTopLevelResources: /data/app/com.here.android.example.venuesandlogging-2/base.apk / 1.0 running in com.here.android.example.venuesandlogging rsrc of package null E/Minikin: addFont failed to create font /data/data/com.android.settings/app_fonts/Samsungsans/DroidSans.ttf addFont failed to create font /data/data/com.android.settings/app_fonts/Samsungsans/DroidSans-Bold.ttf W/ResourcesManager: getTopLevelResources: /data/app/com.here.android.example.venuesandlogging-2/base.apk / 1.0 running in com.here.android.example.venuesandlogging rsrc of package null getTopLevelResources: /data/app/com.here.android.example.venuesandlogging-2/base.apk / 1.0 running in com.here.android.example.venuesandlogging rsrc of package null W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable I/art: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$OnUnhandledKeyEventListenerWrapper> Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$OnUnhandledKeyEventListenerWrapper> D/TextView: setTypeface with style : 0 D/TextView: setTypeface with style : 0 D/AbsListView: Get MotionRecognitionManager E/MotionRecognitionManager: mSContextService = android.hardware.scontext.ISContextService$Stub$Proxy@d967be3 E/MotionRecognitionManager: motionService = com.samsung.android.motion.IMotionRecognitionService$Stub$Proxy@76419e0 motionService = com.samsung.android.motion.IMotionRecognitionService$Stub$Proxy@76419e0 D/TextView: setTypeface with style : 0 D/TextView: setTypeface with style : 0 V/VenuesAndLogging.BasicVenueActivity: InitializeVenueMaps W/System.err: remove failed: ENOENT (No such file or directory) : /data/user/0/com.here.android.example.venuesandlogging/files/.isolated-here-maps/diskcache-v5/BundleStore/foo.bar V/VenuesAndLogging.BasicVenueActivity: onResume D/SecWifiDisplayUtil: Metadata value : none D/ViewRootImpl: #1 mView = com.android.internal.policy.PhoneWindow$DecorView{1223027 I.E...... R.....ID 0,0-0,0} D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true I/WebViewFactory: Loading com.google.android.webview version 77.0.3865.92 (code 386509205) W/ResourcesManager: getTopLevelResources: /data/app/com.google.android.webview-2/base.apk / 1.0 running in com.here.android.example.venuesandlogging rsrc of package null I/art: Rejecting re-init on previously-failed class java.lang.Class I/art: Rejecting re-init on previously-failed class java.lang.Class I/art: Rejecting re-init on previously-failed class java.lang.Class Rejecting re-init on previously-failed class java.lang.Class I/cr_LibraryLoader: Time to load native libraries: 1 ms (timestamps 6117-6118) W/ResourcesManager: getTopLevelResources: /data/app/com.google.android.webview-2/base.apk / 1.0 running in com.here.android.example.venuesandlogging rsrc of package null I/chromium: [INFO:library_loader_hooks.cc(51)] Chromium logging enabled: level = 0, default verbosity = 0 I/cr_LibraryLoader: Expected native library version number "77.0.3865.92", actual native library version number "77.0.3865.92" I/cr_BrowserStartup: Initializing chromium process, singleProcess=true D/SecWifiDisplayUtil: Metadata value : none I/art: Rejecting re-init on previously-failed class java.lang.Class Rejecting re-init on previously-failed class java.lang.Class I/art: Rejecting re-init on previously-failed class java.lang.Class I/art: Rejecting re-init on previously-failed class java.lang.Class D/ConnectivityManager: requestNetwork; getAppId(CallingUid) : 10267, CallingPid : 6999 D/ConnectivityManager: requestNetwork; getAppId(CallingUid) : 10267, CallingPid : 6999 D/ConnectivityManager: unregisterNetworkCallback; CallingUid : 10267, CallingPid : 6999 I/Choreographer: Skipped 57 frames! The application may be doing too much work on its main thread. I/art: Background sticky concurrent mark sweep GC freed 40816(4MB) AllocSpace objects, 9(180KB) LOS objects, 36% free, 16MB/25MB, paused 7.517ms total 87.076ms I/Adreno-EGL: : EGL 1.4 QUALCOMM build: (Ia10634f51b) OpenGL ES Shader Compiler Version: E031.29.00.00 Build Date: 01/28/16 Thu Local Branch: ss Remote Branch: Local Patches: Reconstruct Branch: D/libEGL: eglInitialize EGLDisplay = 0x9ba7a7c4 I/OpenGLRenderer: Initialized EGL, version 1.4 I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false V/VenuesAndLogging.BasicVenueActivity: InitializeVenueMaps: OnEngineInitializationCompleted setVenueServiceContent: Combined = false, Private = false I/Choreographer: Skipped 49 frames! The application may be doing too much work on its main thread. D/libEGL: eglInitialize EGLDisplay = 0x973c1554 W/Adreno-EGL: : EGL_BAD_ATTRIBUTE

: EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE W/Adreno-EGL: : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE W/Adreno-EGL: : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE W/Adreno-EGL: : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE W/Adreno-EGL: : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE W/Adreno-EGL: : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE : EGL_BAD_ATTRIBUTE W/DisplayListCanvas: DisplayListCanvas is started on unbinded RenderNode (without mOwningView) D/ViewRootImpl: MSG_RESIZED_REPORT: ci=Rect(0, 72 - 0, 0) vi=Rect(0, 72 - 0, 0) or=1 W/System.err: mkdir failed: EEXIST (File exists) : /data/user/0/com.here.android.example.venuesandlogging/cache/WebView/Crash Reports I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false E/NetworkProtocol: NetworkProtocol::GetTask::run exception: java.io.InterruptedIOException: thread interrupted W/System.err: java.io.InterruptedIOException: thread interrupted at com.android.okhttp.okio.Timeout.throwIfReached(Timeout.java:145) at com.android.okhttp.okio.Okio$1.write(Okio.java:78) W/System.err: at com.android.okhttp.okio.AsyncTimeout$1.write(AsyncTimeout.java:155) at com.android.okhttp.okio.RealBufferedSink.flush(RealBufferedSink.java:221) at com.android.okhttp.internal.http.HttpConnection.flush(HttpConnection.java:141) at com.android.okhttp.internal.http.HttpTransport.finishRequest(HttpTransport.java:60) at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:1118) at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:951) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:482) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:418) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:540) at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105) at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:25) at com.here.network.NetworkProtocol$GetTask.doInBackground(NetworkProtocol.java:49) at com.here.network.NetworkProtocol$GetTask.doInBackground(NetworkProtocol.java:1) at android.os.AsyncTask$2.call(AsyncTask.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818) I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/Choreographer: Skipped 67 frames! The application may be doing too much work on its main thread. D/libEGL: eglInitialize EGLDisplay = 0x9ba7a62c I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@f0d2a2f time:119143 D/libEGL: eglInitialize EGLDisplay = 0x9ba7a62c D/libEGL: eglInitialize EGLDisplay = 0x9ba7a62c I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false V/VenuesAndLogging.BasicVenueActivity: VenueServiceListener: OnInitializationCompleted with result: ONLINE_SUCCESS V/VenuesAndLogging.BasicVenueActivity: Start of Positioning Updates I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false V/VenuesAndLogging.BasicVenueActivity: onDiagnosticEvent: [info] licensed features: [privateIndoor, radioMapApiIndoor] Location method set to GPS_NETWORK V/VenuesAndLogging.BasicVenueActivity: onMapTransformStart I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false V/VenuesAndLogging.BasicVenueActivity: onMapTransformEnd I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false I/System.out: (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false V/VenuesAndLogging.BasicVenueActivity: onDiagnosticEvent: [info] method: GPS_NETWORK licensed features: [privateIndoor, radioMapApiIndoor] Connected to process 7386 on device 'samsung-sm_g900f-db9c9582'.
starand commented 5 years ago

Which version of SDK do you use? Yesterday we released 3.13 SDK. When did you download github samples? We updated them yesterday and there is pending pull request. I just run positioning-venues-and-logging sample on Samsung S9 device - everything works well (no exceptions).

sergio239new commented 5 years ago

I used SDK 3.12.4_88. github examples loaded today.. ok, i will try with 3.13 and let you know..

sergio239new commented 5 years ago

on LG, Android 9, with SDK 3.3 - same:

10/02 10:23:53: Launching 'indoor_app' on LGE LM-G710. $ adb shell am start -n "com.here.android.example.venuesandlogging/com.here.android.example.venuesandlogging.BasicVenueActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Waiting for process to come online... Connected to process 7862 on device 'lge-lm_g710-LMG710EMac292bc9'. Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. D/PhoneWindow: windowLightStatusBar : false, disable View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR W/enuesandloggin: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (light greylist, reflection) W/enuesandloggin: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (light greylist, reflection) V/VenuesAndLogging.BasicVenueActivity: InitializeVenueMaps V/VenuesAndLogging.BasicVenueActivity: onResume D/NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: true D/OpenGLRenderer: Skia GL Pipeline D/BezellessGripSuppressionFilter: getdisplaysize, x : 1440 y : 3120 I/WebViewFactory: Loading com.android.chrome version 77.0.3865.92 (code 386509237) I/cr_LibraryLoader: Time to load native libraries: 2 ms (timestamps 648-650) I/chromium: [INFO:library_loader_hooks.cc(51)] Chromium logging enabled: level = 0, default verbosity = 0 I/cr_LibraryLoader: Expected native library version number "77.0.3865.92", actual native library version number "77.0.3865.92" W/cr_ChildProcLH: Create a new ChildConnectionAllocator with package name = com.android.chrome, sandboxed = true W/enuesandloggin: Accessing hidden method Landroid/content/Context;->bindServiceAsUser(Landroid/content/Intent;Landroid/content/ServiceConnection;ILandroid/os/Handler;Landroid/os/UserHandle;)Z (light greylist, reflection) I/cr_BrowserStartup: Initializing chromium process, singleProcess=false W/enuesandloggin: Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker;->(Landroid/content/Context;I)V (light greylist, reflection) Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker;->logEvent(Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;)V (light greylist, reflection) Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionStarted(I)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection) Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionModified(II)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection) Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionModified(IILandroid/view/textclassifier/TextClassification;)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection) Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionModified(IILandroid/view/textclassifier/TextSelection;)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection) Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionAction(III)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection) Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionAction(IIILandroid/view/textclassifier/TextClassification;)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection) E/LocationManager: [LGNSS] Disable_PrivacyLocation_Information [tOperator : TMO ] , [privacy_check : 0] E/LocationManager: [LGNSS] This device should be disabled privacy location info -TMO D/LocationManager: init Cipher success. E/LocationManager: [LGNSS] This device should be enabled location encryption - user build I/Adreno: QUALCOMM build : 6d3e40b, I034491c44e Build Date : 10/28/18 OpenGL ES Shader Compiler Version: EV031.25.03.01 Local Branch : Remote Branch : Remote Branch : Reconstruct Branch : Build Config : S P 6.0.7 AArch64 I/Adreno: PFP: 0x016ee176, ME: 0x00000000 I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 I/OpenGLRenderer: Initialized EGL, version 1.4 D/OpenGLRenderer: Swap behavior 2 W/ConnectivityManager.CallbackHandler: callback not found for CALLBACK_AVAILABLE message callback not found for CALLBACK_AVAILABLE message V/VenuesAndLogging.BasicVenueActivity: InitializeVenueMaps: OnEngineInitializationCompleted V/VenuesAndLogging.BasicVenueActivity: setVenueServiceContent: Combined = false, Private = false D/TextureView: getHardwareLayer, createNewSurface:true I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@46e09ce time:170361070 V/VenuesAndLogging.BasicVenueActivity: VenueServiceListener: OnInitializationCompleted with result: OFFLINE_SUCCESS V/VenuesAndLogging.BasicVenueActivity: Start of Positioning Updates W/System.err: java.io.InterruptedIOException: thread interrupted at com.android.okhttp.okio.Timeout.throwIfReached(Timeout.java:145) at com.android.okhttp.okio.Okio$1.write(Okio.java:73) at com.android.okhttp.okio.AsyncTimeout$1.write(AsyncTimeout.java:155) W/System.err: at com.android.okhttp.okio.RealBufferedSink.flush(RealBufferedSink.java:221) at com.android.okhttp.internal.http.Http1xStream.finishRequest(Http1xStream.java:161) at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:735) at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:609) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:471) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:407) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:538) at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105) at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:26) at com.here.network.NetworkProtocol$GetTask.doInBackground(NetworkProtocol.java:103) at com.here.network.NetworkProtocol$GetTask.doInBackground(NetworkProtocol.java:1) at android.os.AsyncTask$2.call(AsyncTask.java:333) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:764) V/VenuesAndLogging.BasicVenueActivity: onDiagnosticEvent: [info] licensed features: [privateIndoor, radioMapApiIndoor] Location method set to GPS_NETWORK V/VenuesAndLogging.BasicVenueActivity: onMapTransformStart V/VenuesAndLogging.BasicVenueActivity: onMapTransformEnd V/VenuesAndLogging.BasicVenueActivity: onDiagnosticEvent: [info] method: GPS_NETWORK licensed features: [privateIndoor, radioMapApiIndoor] V/VenuesAndLogging.BasicVenueActivity: VenueServiceListener: OnInitializationCompleted with result: ONLINE_SUCCESS V/VenuesAndLogging.BasicVenueActivity: Start of Positioning Updates onDiagnosticEvent: [info] licensed features: [privateIndoor, radioMapApiIndoor] Location method set to GPS_NETWORK V/VenuesAndLogging.BasicVenueActivity: onDiagnosticEvent: [info] method: GPS_NETWORK licensed features: [privateIndoor, radioMapApiIndoor] V/VenuesAndLogging.BasicVenueActivity: onMapTransformStart V/VenuesAndLogging.BasicVenueActivity: onMapTransformEnd Connected to process 7977 on device 'lge-lm_g710-LMG710EMac292bc9'.

sergio239new commented 5 years ago

on Samsung with Android 6 started now without exception but still stuck on "waiting for positioning". Do i need to have a mobile or internet connection? On your device, if the demo started: you got the fix and see your current position?

starand commented 5 years ago

yes, I do see my current position and the "Wait for fix" message disappears.

sergio239new commented 5 years ago

Is routing working only on same floor in this demo ? if i select POI on next floor i see the route only until next possible steers..

sergio239new commented 5 years ago

Aha, i found the problem and will create a next issue.. sorry..

starand commented 5 years ago

Could you please provide exact device models and Android versions where you was able to reproduce the exception? (we will continue investigation of the crash in this issue)

sergio239new commented 5 years ago

The issue was on LG G7 Qthink, Android 9

now it is working on LG too, also with that exception above. If i just start and dont do anything it stick to "wait for fix", but if i did many times "go to position", "enable indoor" in menu, than it jums to my position and all works..

Thanky you.

starand commented 5 years ago

Exception happens in com.android.okhttp library, which is not maintained in SDK (SDK just prints the library output into logs, this is expected behavior). Most likely you have connection issue on that device. Did you observe any internet issues on it?

Keep venues related discussion in separate ticket.