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

How to proguard this lib in AS? #127

Open
devishell opened this issue Nov 27, 2018 · 4 comments
Open

How to proguard this lib in AS? #127

devishell opened this issue Nov 27, 2018 · 4 comments

Comments

@devishell
Copy link

How to proguard this lib in AS?

@drewhannay
Copy link
Contributor

Can you clarify your question? I'm not sure what you mean.

@devishell
Copy link
Author

I need to obfuscate my android code
Need to follow proguard-rule in AndroidStudio.

@drewhannay
Copy link
Contributor

We don't currently have any standard rules available. I think the most common use of this library is from tests, where proguard can't be used anyway.

If you can figure out a reasonable set of proguard rules, we could maybe add them to the repo but I don't have any other suggestions right now.

@eugene-krivobokov
Copy link

eugene-krivobokov commented May 14, 2020

the most common use of this library is from tests, where proguard can't be used anyway

R8 can be used in Android tests. Especially with keeper.

Sample app and guide to setup.

Can we change this issue to "Provide default proguard rules"?

I'm also trying to use dexmaker in tests.
Example error: "java.lang.ClassNotFoundException: Didn't find class "com.android.dx.mockito.DexmakerMockMaker" on path: DexPathList ..."

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

3 participants