Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Obfuscating strings.xml file in android code

I would like to prevent anyone decompiling my .apk file from viewing some of the strings in the strings.xml file.

Will obfuscating my code using ProGuard obfuscate or hide the strings.xml file and prevent people from seeing the original strings.

like image 937
Richard Avatar asked Oct 30 '22 17:10

Richard


1 Answers

Proguard will not obfuscate strings. It basically performs minimization on the java. If you want strings to be obfuscated several options are available. Here are a couple

Stringer: https://jfxstore.com/stringer/

DexGuard: https://www.guardsquare.com/dexguard

like image 139
JBirdVegas Avatar answered Nov 08 '22 05:11

JBirdVegas