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

Activities, Services, etc. are not being obfuscated. #32

Open
Chuque opened this issue Sep 30, 2018 · 2 comments
Open

Activities, Services, etc. are not being obfuscated. #32

Chuque opened this issue Sep 30, 2018 · 2 comments

Comments

@Chuque
Copy link

Chuque commented Sep 30, 2018

I managed to obfuscate the resources, but couldn't find a way to obfuscate Activities, Services, custom Views, etc.
How to make it work?

@jokermonn
Copy link

jokermonn commented Oct 4, 2018

Did you add the following code to proguard-rules.pro

-keep public class * extends android.app.Activity
-keep public class * extends android.app.Service
-keep public class * extends android.view.View

You should delete them

@Chuque
Copy link
Author

Chuque commented Oct 16, 2018

I tested your suggestion, but now the app crashes. Looks like the MainActivity class is moved to somewhere else but the AndroidManifest.xml dows not point to that new location. Same behavior to all those classes that are referenced in the manifest file, like another activities, services and the class that extends Application class.

Isn't this Mess plugin supposed to also handle the AndroidManifest.xml?

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