Wednesday, 24 March 2021

Android library vector converted to png and Kotlin files obfuscated by default

I am starting a new android project with Android Studio(AS). I add a library module with a vector drawable and a Kotlin file with comments. I run assemble release and it generates an aar file.

I open this aar release file with AS decompiler and I see the vector file is converted to png for different drawables and the Kotlin file is obfuscated saying compiled code The original xml vector file can be found only in directory drawable-anydpi-v24

How can I disable vector to png and file obfuscation for my library module?

I have default build.gradle: minifyEnabled false

(I am already aware of org.jetbrains.dokka so please don't say just use it)



from Android library vector converted to png and Kotlin files obfuscated by default

No comments:

Post a Comment