Questions tagged [dexguard]

Commercial Android app obfuscator, by same developer as the better known ProGuard.

Commercial Android app obfuscator, by same developer as the better known .

http://www.guardsquare.com/dexguard

175 questions
27
votes
3 answers

How does DexGuard encrypt classes?

I want to check how DexGuard works but it seems that it doesn't have a free trial version. Can DexGuard encrypt an Android application? Or does it simply obfuscate the code? How does DexGuard encryption work? If you could provide code from a sample…
Arci
  • 6,647
  • 20
  • 70
  • 98
20
votes
3 answers

Crashlytics' stacktraces show file name as Unknown Source while Dexguard is enabled

I've got a problem with my crash reports from Fabric Crashlytics when I enable Dexguard in my project. I enabled Dexguard in my project and it works pretty well. Then I followed the instructions in this this page and added the mentioned…
Amin
  • 1,034
  • 10
  • 17
15
votes
2 answers

How can I target kotlin `internal` classes with proguard?

I'd like to proguard (obfuscate) any classes marked with the kotlin internal visibility modifier. Kotlin internal classes are public on the JVM, so they are visible and usable from Java source. I don't want these classes to be used or appear in…
ZakTaccardi
  • 12,212
  • 15
  • 59
  • 107
12
votes
1 answer

Switching to Gradle: why do I have to keep custom views from being obfuscated?

I am moving a project from Ant to Gradle, but there's something I just can't figure out. FACTS After building a release APK (i.e., obfuscated), I noticed that the app was crashing badly. The error can be summed up by…
6
votes
2 answers

Flexjson and Dexguard/Proguard

I am having issues using dexguard when it comes to flexjson library. I keep getting the following error when trying to deserialize using JSONDeserializer. **09-15 20:46:10.271 10901-11552/** **A/art: sart/runtime/class_linker.cc:3430] Check failed:…
joseporto
  • 318
  • 2
  • 9
5
votes
1 answer

Android/Java obfuscation : R8 vs (ProGuard or DexGuard)?

I wonder what is the most powerful obfuscation tool (to avoid reverse engineering): between R8 and ProGuard between R8 and DexGuard Thanks.
toto_tata
  • 14,526
  • 27
  • 108
  • 198
5
votes
3 answers

Getting error building App: app:transformDexArchiveWithDexMergerForDebug

I get the following error while building the app in android studio, why this is happening? Is it related to my proguard rules or dexguard rules? when I add " multiDexEnabled true" in build.gradle file, I get below error: Error:Execution failed for…
5
votes
1 answer

DexGuard integration in Android Studio 3.0

I have upgraded my Android project to use the latest Android Studio 3.0 features. Since then, I am getting the following warning message on each Gradle sync: Warning:One of the plugins you are using supports Java 8 language features. To try the…
Daniel Zolnai
  • 16,487
  • 7
  • 59
  • 71
5
votes
2 answers

Dexguard / Proguard make app crash on Enum switch

After an update of Dexguard from 7.0.12 to 7.1.22, I'm encountering a crash on an Enum switch. This only happens when Dexguard has run on our project (I suppose this is caused by a Proguard issue). If I use hardcoded values, the crash does not…
SnyersK
  • 1,296
  • 8
  • 23
5
votes
2 answers

Gradle sync fails with Dexguard plugin (Android Studio)

I am having a bit of trouble trying to integrate dexguard to my android/gradle project. Dexguard: 5.5.32 gradle: 2.2.1 gradle-plugin: 1.3.0 buildToolsVersion: 23.0.1 I get the following error when I apply plugin: 'dexguard': Error:Unable to load…
Moumou
  • 1,513
  • 2
  • 18
  • 41
5
votes
4 answers

Setting up dexguard license file in android studio

I didn't find dexguard-license.txt file in dexguard.please help me in gradle setup in android studio here is my gradle console output Executing tasks: [:app:assembleDebug] ..... Can't find a DexGuard license file. You should place your license file…
Santhosh
  • 1,867
  • 2
  • 16
  • 23
5
votes
5 answers

How to secure calling webservice in Android

Hello I am working on android application in which i required to execute few https web services so all my webservice URL and Web API KEY are in the code plus ip address of the server. When anyone do reverse engineering of my app then that guy can…
N Sharma
  • 33,489
  • 95
  • 256
  • 444
5
votes
3 answers

How can I use DexGuard to obfuscate my apk?

How can I use DexGuard to obfuscate my apk? I know how to enable proguard and its customization. Can anyone suggest a good tutorial?
Deniz
  • 12,332
  • 10
  • 44
  • 62
4
votes
1 answer

Gson Nested classes are null while using proguard

Warning: class 'com.google.gson.internal.bind.ReflectiveTypeAdapterFactory' is calling Class.getDeclaredFields on class. After enabling proguard found some issues mentioned below: Nested static classes are null. List of a custom object in a class…
KKSINGLA
  • 1,284
  • 2
  • 10
  • 22
4
votes
2 answers

Dexguard release apk not showing resource ids for elements in UI automator

after obfuscating the apk with dexguard ,elements resource ids are not visible in uiautomator tool. can the dexguard release build used for automation? how to keep the elements resource ids for dexguard release build?
Ashok Kumar
  • 1,226
  • 1
  • 10
  • 14
1
2 3
11 12