Loading native library at runtime takes longer when encrypted with dexguard

I have dexguard embedded in my android app. Everything works fine.

I have also encrypted native libraries using dexguard. The problem here is that when I use dexguard it takes a few seconds to load the native library, whereas without dexguard it loads immediately. If I remove -encryptnativelibraries

dexguard from the properties file it loads immediately.

I am guessing that the decrytping.so file takes a few seconds at runtime? Or won't it take long?

+4


source to share


1 answer


In older versions of DexGuard, loading encrypted native libraries was rather inefficient. The later versions 7.1.20+ have improved decryption and download performance and you no longer need more differences compared to the unencrypted library.



+1


source







All Articles