-
Notifications
You must be signed in to change notification settings - Fork 1.3k
6.6.0 Build failed with proguard #13088
Comments
@klblk what others Mapbox libraries are you using? |
i use 'com.mapbox.mapboxsdk:mapbox-sdk-services:4.0.0'. (but not use MapboxDirections api) Mapbox 6.5.0 build is ok, if change to 6.6.0 build failed (no chage other code ) |
@klblk the reason why this shows now is that we have slimmed down our proguard configuration on the map sdk to obfuscate more classes for a smaller apk size. The reason why this isn't handled by the mapbox-sdk-services:4.0.0 dependency, is that itself is not an aar but a jar and doesn't come with a proguard configuration. You will have to fix this on your end in your app proguard file, as this is not up to the maps sdk to fix and mapbox-sdk-services doesn't support this configuration. |
Reopening this issue as we had another report of this. To avoid more users running into this, I will include an entry for Mapbox services in this repo. |
Steps to reproduce
Expected behavior
BUILD SUCCESSFUL
Actual behavior
BUILD FAILED
Log:
Configuration
Android versions: any
Device models: any
Mapbox SDK versions: 6.6.0 (not reproduce on 6.5.0)
The text was updated successfully, but these errors were encountered: