Skip to content

Unable to parse line X as member mapping: # {"id":"com.android.tools.r8.synthesized"} #111

Closed
@mateuszkwiecinski

Description

@mateuszkwiecinski

After migrating the project to AGP 7.1.1 diffuse starts failing with

Usage: diffuse diff [OPTIONS] OLD NEW

Error: Invalid value for "--new-mapping": Unable to parse line [76] as member mapping:       # {"id":"com.android.tools.r8.synthesized"}

I call it via:

java -jar diffuse.jar diff --apk diffuse-source-file-release app/build/outputs/apk/graphql/release/app-graphql-release-unsigned.apk --old-mapping diffuse-mapping-file-release --new-mapping app/build/outputs/mapping/graphqlRelease/mapping.txt

here's how line 76 looks like:
image

The workaround seems to be not to pass the mapping related arguments as they are ignored either way (#96)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions