When creating my android project, I added the following to the build.gradle file to enable proguard:
buildTypes { release { runProguard true proguardFile 'proguard-project.txt' proguardFile '../common/proguard-shared.txt' proguardFile getDefaultProguardFile('proguard-android.txt') } }
Everything builds fine, but when I parse the resulting dex file, it turns out that there are confused and not obfuscated files.
For example, both common.Base64 and common.a exist, the first is not confusing, and the second is.
Iām not sure that this is connected, but the project itself has a non-standard structure. This is the result of the fact that we have a large Android database with over 40 Android applications. We are trying to create an assembly stream based on gradle side by side of an existing eclipse based assembly.
If everything goes well, we intend to change the file structure to a more native gradle and start using flavors and build types to get rid of many of the libraries that we created to satisfy the lack of flaws and for example.
Project E above relies on a chain of such libraries:
E ā D ā C ā B ā A
eg. Project E depends on library D, which depends on library C ... up to A.
source share