How to use the ProGuard in Android Studio?

Felipe Porge Xavier

This is my first project in Android Studio, and the code of my apps are not obfuscated. Im using this configuration in build.gradle file: enter image description here

I'm using the Build > Generate Signed APK... with the Run Proguard checked. And, when I have tested using the Apk_OneClick.v4.2, my code is completly easy to read:

enter image description here

Please, help-me. :(

Scott Barta

You're probably not actually signing the release build of the APK via the signing wizard. You can either build the release APK from the command line with the command:

./gradlew assembleRelease

or you can choose the release variant from the Build Variants view and build it from the GUI:

IDE main window showing Build Variants

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to use ProGuard with OrmLite in android

From Dev

How to manually run proguard in android studio?

From Dev

how to downgrade proguard version in android studio gradle?

From Dev

How to enable ProGuard obfuscation in Android Studio?

From Dev

How to manually run proguard in android studio?

From Dev

How to use proguard in cordova android App

From Dev

How to use Android proguard only with the optimize function

From Dev

How to use Android proguard only with the optimize function

From Dev

Proguard not obfuscating in Android Studio

From Dev

Proguard in android studio 3.1.2

From Dev

How to add proguard mapping file on git (exclude in gitignore, Android Studio)

From Dev

How to use Android studio

From Dev

How to use -dontwarn in ProGuard?

From Dev

Run Debbuger in Android Studio with Proguard On

From Dev

Use ProGuard to exclude Log in Android

From Dev

Android auto copy Proguard mapping Android Studio

From Dev

How to use assert in Android Studio

From Dev

How to use this project in android studio?

From Dev

How to use BoofCV in Android Studio?

From Dev

How to use BoofCV in Android Studio?

From Dev

How to use pocketsphinx in Android Studio

From Dev

How to use ObservableList in Android Studio?

From Dev

Where is proguard-rules.txt in android studio?

From Dev

Android Studio - Proguard 'keep' rules being ignored?

From Dev

proguard-project.txt not found in android studio

From Dev

Using ProGuard / Dexguard with multiple Android Studio Modules

From Dev

Android Studio 0.5.0 rebuild not working with Proguard

From Dev

proguard build in Android Studio. Getting error

From Dev

Where is the output of ProGuard's -whyareyoukeeping in Android Studio?

Related Related

HotTag

Archive