Skip to content
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

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

Closed
mateuszkwiecinski opened this issue Feb 4, 2022 · 3 comments

Comments

@mateuszkwiecinski
Copy link
Contributor

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)

@JakeWharton
Copy link
Owner

Dupe of #106. Are you using the latest code? Or the latest release?

@mateuszkwiecinski
Copy link
Contributor Author

mateuszkwiecinski commented Feb 5, 2022

Ah my apologies. I tried to search for an existing issue but didn't find one.
I'm using latest release 0.1.0

@JakeWharton
Copy link
Owner

For now, until I can resume regular releases, I would recommend cloning the repository and building a version from the latest codebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants