dexmaker icon indicating copy to clipboard operation
dexmaker copied to clipboard

How to proguard this lib in AS?

Open devishell opened this issue 5 years ago • 4 comments

How to proguard this lib in AS?

devishell avatar Nov 27 '18 02:11 devishell

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

drewhannay avatar Nov 28 '18 18:11 drewhannay

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

devishell avatar Nov 30 '18 03:11 devishell

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.

drewhannay avatar Dec 05 '18 01:12 drewhannay

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 ..."

eugene-krivobokov avatar May 14 '20 11:05 eugene-krivobokov