Showing posts with label Proguard. Show all posts

Java code obfuscation using Proguard

 Java code obfuscation is a technique used to protect the intellectual property of software developers by making the source code of their applications harder to understand and reverse-engineer. One popular tool for obfuscation is Proguard, which is a free, open-source tool that can be used to shrink, optimize, and obfuscate Java code.

Here are the steps to obfuscate your Java code using Proguard:

How to solve Proguard NotSerializableException in Java Application?

ProGuard is a tool used in Java development to help optimize and obfuscate code. It can sometimes cause issues with serialization if it strips out classes or fields that are necessary for serialization.

A NotSerializableException is typically thrown when an object is not serializable. In other words, when an object cannot be written to a stream and then reconstructed from that stream later.

To resolve this issue with ProGuard, you can do the following: