VeryStressed
VeryStressed

Reputation: 3

How to whitelist a class?

How do i white list an android activity having java class name as Abc.java and xml as activity_abc.xml

I've used Proguard and i want to keep/whitelist that class in it

Upvotes: 0

Views: 514

Answers (1)

Parthiv Mistri
Parthiv Mistri

Reputation: 166

You can keep class like this:

-keep class com.yourproject.YourClass**

To keep all package:

-keep class com.yourproject.model.** { *; }

Upvotes: 2

Related Questions