-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mapbox app crashes on android api 19 #1982
Comments
Hey 👋 @mahdit83 thanks for reaching out and report your issue. Noting that if you're using the Navigation UI SDK, you don't have to declare the Mapbox Maps SDK, it's included implicitly 👀
That being said, we’re always striving to upgrade to the latest versions of the different dependencies included in the SDK. This issue specifically is caused because the Events version included in Mapbox Maps SDK doesn't include the Navigation events 👀 mapbox/mapbox-events-android#383 - this was included in Events There's a workaround that could be made in the meantime which is excluding the Events dependency from Maps SDK so that Events implementation('com.mapbox.mapboxsdk:mapbox-android-sdk:8.1.0') {
exclude group: 'com.mapbox.mapboxsdk', module: 'mapbox-android-telemetry'
} Closing as answered. Please feel free to cut a new ticket if you run into any other issues. Thanks again! |
@Guardiola31337
and it is still crashing with the same log unless i am use the navigation-sdk without ui parts, Should I just wait and track the #1890 as well? |
Hi @Guardiola31337. Thanks for response. |
Hey @donlingliang and @mahdit83 👋 could you try with Please feel free to cut a new ticket if you run into any other issues with the latest version. Thanks for bringing this to us! |
@Guardiola31337 Hi,
|
Hey @mahdit83 as indicated in the
As you're including Maps SDK In any case, if you are not using the Navigation SDK this is not the best place to report this question. Feel free to report any other issue in the |
Passing by to say that the |
Hi My app crashes too with this error: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.mapbox.android.telemetry.provider.MapboxTelemetryInitProvider" on path: DexPathList
Any update? |
He @gkosmadakis , thanks for using Mapbox.
|
Hey @langsmith |
@langsmith @Guardiola31337 dependencies { |
I created a new Java project in Android Studio and was able to install it on my physical device. I'm using My Android Studio info:
I did have to add the following compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
} Here's my app-level apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "com.langsdroid.placesplugintest"
minSdkVersion 14
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
}
repositories {
mavenCentral()
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:9.1.0'
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-places-v9:0.11.0'
} |
adding |
Hey everyone :)
Error is:
Can you help me please? |
My app crashes when run on api 19 with this log:
Android API: 19
Mapbox Navigation SDK version: 8.1.0
Steps to trigger behavior
The text was updated successfully, but these errors were encountered: