Status Update
Comments
ca...@google.com <ca...@google.com> #2
i am using these dependencies for the map
// Maps SDK for Android KTX Library implementation 'com.google.maps.android:maps-ktx:3.0.0'
// Maps SDK for Android Utility Library KTX Library
implementation 'com.google.maps.android:maps-utils-ktx:3.0.0'
implementation 'com.google.android.gms:play-services-base:18.5.0' implementation 'com.google.android.gms:play-services-basement:18.5.0' implementation 'com.google.android.gms:play-services-maps:19.0.0'
and also getting some map sdk error as well dab File created: google_maps_sdk_crash dab File created: _google_maps_sdk_crash_count_1 dab Couldn't create marker: google_maps_sdk_crash dab File created: _google_maps_sdk_crash_count_2 dab Marker deleted: _google_maps_sdk_crash_count_1
ra...@google.com <ra...@google.com> #3
Thank you for posting.
We are currently looking into this and will get back to you as soon as we have an update.
Description
Context:
I am working with a maps library in my codebase. The map works correctly in production; however, we encounter an issue during our Espresso UI tests. Specifically, when navigating to the map page, the map library is sometimes not loaded in the test environment.
Debugging Steps:
I have debugged the issue and verified that the map initialization code is executed properly in the test environment. Here is the relevant code snippet:
In every instance, the map is initialized without throwing any exceptions, and the renderer is properly determined. Despite this, the map sometimes fails to load in the Espresso test environment.
Request:
I am unable to properly debug the map library beyond this point. I would like to know if there are any additional steps or methods to further diagnose or resolve this issue. Any insights or suggestions would be greatly appreciated.