I am developing an Android library project with Eclipse that I want to unravel. So that my clients cannot easily redesign and read my code, I want to confuse the source code of my library. From the research that I did, I found that ProGuard seems to be considered the best for my use.
I saw a message from Eric Lafortune (creator of ProGuard) saying that ProGuard doesn’t work in library projects, and this is confusing to me. Why would it work with Android app projects, and not with Android Library Project? Maybe I'm just misunderstanding something ...
I read several posts and blogs (see this one ) on how to create a ProGuard configuration file with Ant to build a configuration. But it will certainly take me several hours to get it working if I manage to get it to work ... Not to mention that these posts and blogs may be outdated.
So, I would like to know if what I want is possible, and if I go in the right direction.
You can obfuscate your library, but you need to add all your public APIs as exceptions so that Proguard does not touch it. This is a lot of work. Be prepared to experience a lot.
, , , . , , .
, , , .
Source: https://habr.com/ru/post/1614033/More articles:Safe and clean code in laravel 5.1 - phpHow to stop running countdown in jquery? - jquerydelay output in C ++ on linux - c ++Problems with obfuscating an Android library project using Proguard - androidHow to access SQLite database in zip file - Android - javaModification of the Gurobi model is slow, can I directly modify the constraint matrix? - pythonSaving Sql result sets in a nested structure and skipping if it is empty - mysqlMobile menu doesn't close on iPhone - javascriptHow to use custom legends in NVD3 graphics - javascriptкак показать данные из json в ui-grid в angular ui-grid - jsonAll Articles