Closed sergio239new closed 5 years ago
@sergio239new thank you for reporting. We will take a look. Did you build here github sample or your own application?
@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
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).
I used SDK 3.12.4_88. github examples loaded today.. ok, i will try with 3.13 and let you know..
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;->
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?
yes, I do see my current position and the "Wait for fix" message disappears.
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..
Aha, i found the problem and will create a next issue.. sorry..
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)
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.
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.
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'.