I am trying to confuse the Android library project (APKLIB) by allowing the library to be distributed to potential customers for test development without compromising much of the source code.
Unfortunately, there is no documentation and no examples that Google can provide, and the only links to the confusing APKLIB are messages without any solutions.
I tried using android-maven-plugin as well as maven-proguard-plugin with Maven to obfuscate the APKLIB, but the end result was not confused. I also tried moving the proguard target to the process classes and maven package preparation phases without success.
My latest application is to split the source code from APKLIB and obfuscate it as a JAR, leaving the APKLIB as AIDL files and resources depending on the running JAR. However, I would like to avoid this, if possible, since our project already has a large number of libraries.
Does anyone know if it's even possible to confuse APKLIB? And if so, how?
source share