heremaps / here-android-sdk-examples

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

Cannot created HERE SDK objects before MapEngine is initialized. #19

Closed paramtrivedi closed 7 years ago

paramtrivedi commented 7 years ago

I am accessing the sample application and getting the error. Can any one please help here?

FATAL EXCEPTION: main Process: com.here.android.example.guidance, PID: 30111 com.here.android.mpa.common.UnintializedMapEngineException: Cannot created HERE SDK objects before MapEngine is initialized. See MapEngine.init()

paramtrivedi commented 7 years ago

I am getting a toast OPERATION_NOT_ALLOWED.

sschuberth commented 7 years ago

Hi @paramtrivedi, are you sure you've generated / used the correct app id / app code for the package name of the example you're trying?

paramtrivedi commented 7 years ago

Changing the keys solved the issue. Thank you.

paramtrivedi commented 7 years ago

@sschuberth Hi Sebastian,

I have a problem with the here maps sdk when there are more waypoints in the turn.

It is crashing from the NavigationManager with this error which stops us to debug as it is from the here maps sdk error -

A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 3325 (NavigationManager)

JH-YVR commented 7 years ago

@paramtrivedi , since this is a different issue to the one originally raised and addressed, please create a separate thread for this new issue. Please create it on https://stackoverflow.com/questions/tagged/here-api as this site is intended only for topics related to the SDK examples and not general SDK topics.

sschuberth commented 7 years ago

In addition to what @JH-YVR said, the SIGSEGV sounds like a duplicate of https://github.com/heremaps/here-android-sdk-examples/issues/48, so I'm again closing this.