java.lang.AssertionError: setApiKey() should be called before initialize()! | Switching from SD 33 to SDK 34 Yandex MapKit
When changing the target SDK from 33 to 34, the activity with the map began to crash the application, during the checks it turned out that the version of the MapKit library requires an update, it was updated to the latest 3.5, and yes, the application began to open the activity, but only once, reopening leads to the error “java.lang.AssertionError: setApiKey() should be called before initialize()!”