Questions tagged [android-proguard]

The ProGuard tool shrinks, optimizes, and obfuscates your code by removing unused code and renaming classes, fields, and methods with semantically obscure names. The result is a smaller sized .apk file that is more difficult to reverse engineer.

The ProGuard tool shrinks, optimizes, and obfuscates your code by removing unused code and renaming classes, fields, and methods with semantically obscure names. The result is a smaller sized .apk file that is more difficult to reverse engineer. Because ProGuard makes your application harder to reverse engineer, it is important that you use it when your application utilizes features that are sensitive to security like when you are Licensing Your Applications.

ProGuard is integrated into the Android build system, so you do not have to invoke it manually. ProGuard runs only when you build your application in release mode, so you do not have to deal with obfuscated code when you build your application in debug mode. Having ProGuard run is completely optional, but highly recommended.

Official Documentation

1030 questions
-2
votes
3 answers

Is this possible to protect our apk to decompile in android?

I have created one android app but in that app i am using url,so i want to protect that url because when i decompiled my apk,inside java class url is coming as it is. so i want to ask that is this possible to protect that url ?
Ashish Kumar Pal
  • 347
  • 2
  • 15
-2
votes
1 answer

MultiDex Support

My app is crashing due to multidex. Below is the crash log information : 12-23 16:43:12.437 6823-6823/com.rogers.tsc I/MultiDex: VM with version 2.1.0 has multidex support 12-23 16:43:12.438 6823-6823/com.rogers.tsc I/MultiDex: install …
-2
votes
2 answers

Obfuscation of Apk>>Application crashes after splash screen

I am Facing problem to obfuscate my android App.My application have 3 Modules. i enabled proguard in my app using android studio. My gradle.build file is below:- apply plugin: 'com.android.application' android { compileSdkVersion…
Meesam Abbas
  • 126
  • 7
-3
votes
1 answer

Why does AndroidManifest.xml have invalid targetSdkVersion?

I build an app using android studio 3, but when I want to publish it, market said "Your application must have a valid targetSdkVersion set. To solve this problem, you need to edit your AndroidManifest.xml file and upload again the .apk file." I…
-3
votes
2 answers

Android protect the manifest and layout from reverse engineering

I have been doing lot of research on how to prevent people from accessing the manifest and layout files. i know proguard is used for obfuscating code, but then it works only on Java code not on the res folder. I have been through some answers like…
Jolson Da Costa
  • 1,095
  • 1
  • 12
  • 31
-3
votes
1 answer

Android - create signed APK with Proguard

I am unsuccessfully trying to generate a signed APK. My proguard-rules.pro file: -optimizationpasses 5 -dontusemixedcaseclassnames -dontskipnonpubliclibraryclasses -dontpreverify -verbose -optimizations…
JBarbosa
  • 134
  • 8
-3
votes
1 answer

Removing particular package classes from apk

I need to remove some particular packages classes from release apk. I am looking for some kind of option of proguard or gradle which can help. these classes are part of my project (code does not compile without it) but I want to remove these classes…
-6
votes
1 answer

Proguard claims to obfuscate the .apk, but does not

I'm exporting an Android application from Eclipse. Proguard thinks it is obfuscating the .apk according to the console, dump.txt, mapping.txt, seeds.txt and usage.txt output, but when I decompile the .apk itself it is not obfuscated. Names of…
-6
votes
1 answer

Android: i want to create code very secure

My question is to develop one application in android, so meanwhile I want to create well secure code, I'm uploading APK in play store how to obfuscates my code using a Proguard, I need to obfuscate class names, libraries, id and basic…
-6
votes
1 answer

Proguard with Duplicate Zip entry error

When I applied proguard, then in console ,getting below error.please solve my issue. solve duplicate zip entry error while applying progaurd. Console Error: Note: there were 157 duplicate class definitions. …
dipali
  • 10,966
  • 5
  • 25
  • 51
1 2 3
68
69