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
2
votes
2 answers

onClick() does not work after appying dexguard. Is there any way to solve this?

i am using dexguard to secure my app. Recently i updated the dexgaurd version from 8.0.1 to 8.2.15. Earlier everything is working fine before the update. But with the version 8.2.15 when i apply dexguard, onCick method does not works in one of…
Yogesh Katkar
  • 369
  • 1
  • 4
  • 16
2
votes
1 answer

Glide error when build release apk

In my case, I found this error when create release apk. App module has lib module. Lib module has Glide and use Dexguard -keepresourcexmlelements - manifest/application/meta-data@value=GlideModule. App module use Proguard. How can i fixed it?
Oat Anirut
  • 1,179
  • 1
  • 8
  • 9
2
votes
2 answers

Glide fails to load image from Resource Id in release version with code obsfucation

Using Glide, when I try to load from Resid, the image never loads on my release variant, it works fine on debug variant. Below is my code. Glide.with(activity.applicationContext).load(R.drawable.mydrawable).into(imageView) However, it works if I…
Akhil
  • 6,667
  • 4
  • 31
  • 61
2
votes
0 answers

Android O Webview crash with DexGuard

This crash has only been reproducible in Android 8/8.1 for me. This also only happens in obfuscated builds, unobfuscated builds are not affected. I have tried adding keep rules for the entire codebase and all dependencies and it does not fix the…
2
votes
1 answer

Dexguard release build missing .so file

I use Dexguard for my release build, but I got this exception: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/myapp.app-1/base.apk"],nativeLibraryDirectories=[/data/app/myapp.app-1/lib/arm64,…
just
  • 1,900
  • 4
  • 25
  • 46
2
votes
2 answers

Dexguard as a public Maven dependency

Is there any reason Dexguard is not available on any public maven repo? Maven Central, JCenter or even anything hosted directly by Guardsquare would work. So far I have seen it distributed only as a zipped bunch of jars. Why?
Vitaliy Istomov
  • 195
  • 1
  • 1
  • 6
2
votes
1 answer

Encrypt assets (JSON) using DexGuard

I am using DexGuard v7.3.18 and I want to encrypt JSON files that are stored in assets/json which I access in my classes like so: inputstream = context.getAssets().open("json/" + jsonFileName) and I configured dexguard-project.pro with various…
Anil Gorthy
  • 869
  • 3
  • 13
  • 30
2
votes
2 answers

How to point gradle to my dexguard license

I am trying to configure my android studio project with Dexguard. I am not understanding how to tell gradle where to get my license. My license is at the root location of my project (i.e. at the same location as my /app directory). And the name is…
Katedral Pillon
  • 14,534
  • 25
  • 99
  • 199
2
votes
2 answers

Android Studio 2.0 with Gradle 2.0 and Dexguard bootClasspath error

I updated to Android Studio 2.0, and now I would like to build my project, but I got this exception: Execution failed for task ':app:dexguardDebug'. No such property: bootClasspath for class: com.android.builder.core.AndroidBuilder I use…
just
  • 1,900
  • 4
  • 25
  • 46
2
votes
0 answers

Android Studio & Gradle - generate jar from Android Library module with several flavors

I'm struggling with this issue for quite some time now but haven't find any proper solution online so I thought I would ask here for help. I'm using Android Studio to build an Android Library module. my library contains 3 build type ('release',…
2
votes
1 answer

Dexguard error while running signed apk

I am using Android Studio,my project has 5 modules. While running signed obfuscated apk I am getting the following error Unable to instantiate application com.....FTApplication: java.lang.ClassNotFoundException: Didn't find class…
Raji A C
  • 2,261
  • 4
  • 26
  • 31
2
votes
1 answer

Dexguard with Maven and Android Studio doesn't work

I am taking over a project, an Android app, which was developed on Eclipse with the ADT plugin. It also uses maven3, and dexguard to obfuscate code. As I usually work with Android Studio (AS) I imported the old project in AS. Everything works fine…
Moumou
  • 1,513
  • 2
  • 18
  • 41
2
votes
1 answer

android studio getResources().getIdentifier return 0 if apply dexguard

I have using dexguard in application. I am loading the images dynamically and displaying in it image view. but image view showing blank. I am using below code. getResources().getIdentifier(imagename, "drawable", packageName); its returning 0 when…
RamBabu Pudari
  • 912
  • 7
  • 19
2
votes
1 answer

Making Dexguard to do not remove unused resources

I'm having a hard time with dexguard to make it to do not remove a resource I access this way: int resourceId=getResources().getIdentifier("pictures", "array", getActivity().getPackageName()); When I execute the application I get the following…
Notbad
  • 5,936
  • 12
  • 54
  • 100
2
votes
1 answer

How do I verify If Dexguard has encrypted the class of my Android application?

Does dexguard store names of classes and strings which were encrypted. I am using the following command to encrypt the classes -encryptclasses A$B -encryptstrings A$B Is there a file like bin/proguard/mapping.txt where the class names are stored.
nsp
  • 378
  • 1
  • 4
  • 19