PATCH JANUS VULNERABILITY
Feb 5, 2023
Janus Vulnerability
Janus vulnerability comes from the possibility to add extra bytes to APK files and to DEX files.
Janus Patching
- Open Android Studio
- Go to build.gradle (:app)
- Now write this code
signingConfigs {
release {
keyAlias 'key_name'
keyPassword 'here_password'
storeFile file('path to your key file')
storePassword 'here_password'
v1SigningEnabled false
v2SigningEnabled true
}
}
4. Now write this code in buildTypes { release {} }
signingConfig signingConfigs.release