How to use Proguard for an Android project that uses the ActionBarSherlock library (to prevent Force Close), in Android programming

If you used the ActionBarSherlock library in your Android project, when you activate the Proguard for the project (which is used to protect the codes for non-engineering reverse engineering) , with Force Close (package Android app).

To fix this problem, after activating the proguard, you need to open the proguard-project.txt file:

How to use Proguard for an Android project that uses the ActionBarSherlock library (to prevent Force Close), in Android programming

Then add the following code to the end of its code (in a new line):

 

 keep class com Actionbarsherlock . ** *; }

The problem is solved and you will no longer be faced with Force Close

Leave a Reply

Your email address will not be published. Required fields are marked *

Top