Steps in this session:
1. Create a simple App
2. Build normal APK (non-obfuscated)
3. Build Obfuscated APK
In this video it shows the source code in the APK file for 3 types of APKs built:
1. Debug variant
2. Release non-obfuscated variant
3. Release obfuscated
In this video it refers to the below pages:
- Android developer page: https://developer.android.com/build/shrink-code#kts
- Programmer World page: https://programmerworld.co/android/how-to-get-source-code-from-apk-file-of-an-android-app-api-34android-14/
The gradle code is below:
buildTypes {
release {
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
For details please refer:
https://programmerworld.co/android/how-to-obfuscate-the-source-code-while-building-apk-of-your-android-app-api-34android-14/
I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: [email protected]
--
Download
0 formats
No download links available.
How to obfuscate the source code while building APK of your Android App? – API 34|Android 14 | NatokHD