Skip to content

Proguard Parser Exception <mapbox-android-plugin-locationlayer> #541

@Chrylo

Description

@Chrylo

When using the following setup and integrating the dependency com.mapbox.mapboxsdk:mapbox-android-plugin-locationlayer:0.5.3, I always get the following error:

ProGuard configuration parser error: \.gradle\caches\transforms-1\files-1.1\mapbox-android-plugin-locationlayer-0.5.3.aar\bff82016c498500d5e92322d3f3579a3\proguard.txt line 11:21 no viable alternative at input ','

When looking into the proguard file, 11:21 stands out:

-keepclassmembernames,allowobfuscation interface *

buildTypes {
        release {
            minifyEnabled true
            shrinkResources true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        debug {
            minifyEnabled true
            useProguard false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            applicationIdSuffix '.debug'
        }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    location-layer-pluginIssues that deal with the location layer module

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions