heremaps / here-sdk-examples

Android, iOS and Flutter example apps for the HERE SDK 4.x (Lite Edition, Explore Edition, Navigate Edition)
https://developer.here.com/products/here-sdk
Apache License 2.0
170 stars 135 forks source link

Android's CameraKeyframeTracks example is not working at API 28 (Android 9.0) #303

Closed qshen-wolies closed 5 months ago

qshen-wolies commented 7 months ago

SDK version: heresdk-navigate-android-4.16.0.0.12759 Device & Operating System: Pixel 3 Emulator API 28 (Android 9.0) IDE: Android Studio Hedgehog | 2023.1.1 Patch 1

Step to replicate:

  1. Try to launch Camerakeyframetracks example with the above configuration
  2. Showing a blank screen

Expect behaviour: Show the map view successfully

Note: The example works fine if I'm using API 29 ~ API 34 in Android Studio's emulator. I think it will be good to double check if other examples is working under API 28 or below.

Please see the following screenshot and logcat to get more information, thanks.

Screenshot:

Screenshot 2024-02-29 at 1 11 48 pm

Logcat: cameraKeyframeTracks_error_api28.txt

HERE-SDK-Support-Team commented 5 months ago

Hi @qshen-wolies,

we tested Android 28 devices and an emulator configuration with Android 28 and the issue is not reproducible. From the logs we can see that

[ERROR] hsdk-geoviz - Failed to create GraphicsPackage 'OpenGL'

may seem to indicate that OpenGL is misconfigured for the emulator. Edit your emulator settings via Settings -> Advanced -> OpenGL ES API level. If it is set to "Autoselect", try to change it to "Renderer Maximum".

Hope this helps. Closing for now. Please leave a reply if this does not solve the issue for you. Thanks!