@@ -38,12 +38,12 @@ android.applicationVariants.all{ variant ->
3838Setup
3939-----
4040Init the library:
41- ```
41+ ``` java
4242AndroidStringObfuscator . init(this );
4343```
4444
4545
46- #### Encrypt Strings
46+ #### Encrypt
4747The script will encrypt all string tags with ` hidden="true" ` as attribute.
4848
4949``` xml
@@ -59,7 +59,7 @@ Or encrypt strings programmatically by doing:
5959String encrypted = AndroidStringObfuscator . simulateString(some_string_var);
6060```
6161
62- #### Decrypt Strings
62+ #### Decrypt
6363``` java
6464String decrypted = AndroidStringObfuscator . getString(R . string. app_name);
6565```
@@ -80,23 +80,8 @@ Gradle Console Output Example
8080...
8181```
8282
83- #### Possible errors
84- Missing ` ~/.android/debug.keystore ` . Run your app to generate that file.
85- ```
86- ...
87- :sample:mergeDebugResources
88- :sample:initStringObfuscator
89- :sample:obfuscator-script - -----------------------------------------------------------------------------
90- :sample:obfuscator-script - debug variant
91- :sample:obfuscator-script - Missing keystore
92- :sample:obfuscator-script - SHA1 fingerprint not detected; try params [module] [variant] [optional:sha1]
93- :sample:obfuscator-script - -----------------------------------------------------------------------------
94- :sample:obfuscator-script - v 0.5
95- :sample:processDebugManifest
96- ...
97- ```
9883
99- #### More Info
84+ #### More information
10085At first run, if you haven't installed Gradle:
10186```
10287...
@@ -105,6 +90,15 @@ At first run, if you haven't installed Gradle:
10590:sample:obfuscator-script - Set executable permissions for: /Users/efraespada/.gradle/wrapper/dists/gradle-2.14.1-all/8bnwg5hd3w55iofp58khbp6yv/gradle-2.14.1/bin/gradle
10691...
10792```
93+
94+ If ` ~/.android/debug.keystore ` is missing, run your app to generate that file.
95+ ```
96+ ...
97+ :sample:obfuscator-script - debug variant
98+ :sample:obfuscator-script - Missing keystore
99+ :sample:obfuscator-script - SHA1 fingerprint not detected; try params [module] [variant] [optional:sha1]
100+ ...
101+ ```
108102License
109103-------
110104 Copyright 2017 Efraín Espada
0 commit comments