Questions tagged as 'proguard'

1
answer

How to make ProGuard remove a class method?

I can not get ProGuard 4.10 to cause a static method to inline . I only get this with instance methods. For example, this short stretch: public final class Calc { private int x = 0; public int getX() { return x;...
asked by 15.01.2015 / 04:17
2
answers

Enable Proguard in Android application

I did an example project, using SQLCipher , and I'm trying to obfuscate the code with Proguard , however, after exporting and signing the application, and converting classes.dex with dex2jar , I can practically see all code wit...
asked by 19.05.2015 / 13:22
1
answer

Maven with Proguard

Well, could anyone explain how I can use Proguard in maven's build to obfuscate the web project (war) in deploy direct to jetty? <project xmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi...
asked by 20.10.2015 / 00:36
2
answers

Obfuscating Java code with ProGuard

Problem: I'm getting warnings from ProGuard and I can not seem to obfuscate my .jar , it's the first time I get these warnings and I can not finish the obfuscation. Problem details: Note: Application is working, withi...
asked by 21.02.2014 / 19:10
0
answers

Error using ProGuard the first time in an Android app

My Gradle is as follows: buildTypes { debug { shrinkResources false minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } rel...
asked by 06.07.2018 / 04:23
1
answer

ProGuard, how not to change a certain variable

I have a variable in my Java code, and I want to obfuscate the code using ProGuard, but there is a variable I want to keep the name, after obfuscation, because I will use this application in other projects. public static main SwBotIA; This...
asked by 03.05.2018 / 04:43
0
answers

Android Proguard

Using Proguard, I know that I can overshadow my code after the APK is generated, but can I perform this obfuscation before generating the APK? How to create a lib (.jar) and when does it matter it is already overshadowed? With this every time I...
asked by 07.03.2018 / 20:12
1
answer

How to hide public static final in proguard?

I have the following class package br.com.app1.urls; public class Urlapp { public static final String URL_LOGAR ="url/login"; public static final String URL_CADASTRAR_INCIDENTES ="url/incidentes"; } I would like to know how to configure...
asked by 02.05.2016 / 20:55
1
answer

How to properly configure proguard?

How to make the right configuration of proguard , bringing better security, smaller size, and deleting classes when you want or when creating problems? I basically enable the default settings by changing minifyEnabled to true...
asked by 12.07.2016 / 01:59