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
4
votes
1 answer

Dexguard 7.3.01 incompatible with gradle 2.3.0

I'm working in a project that uses Dexguard, but when I try update gradle to version 2.3.0, I get the following error message on sync: Error:No such property: sdkHandler for class: com.android.build.gradle.AppPlugin Settings: Dexguard version…
4
votes
1 answer

Loading the native library in runtime is taking more time when encrypted with dexguard

I have integrated dexguard in my android application. Everything is working fine. I have also encrypted the native libraries using dexguard. The problem here is when I apply dexguard it takes few seconds to load the native library whereas without…
4
votes
1 answer

Integrating DexGuard into Android Studio

Has anyone of you managed to install DexGuard as a plugin to Android Studio? I am trying to do so with DexGuard 6.1 and Android Studio 1.1.0 using Settings>Plugin>Install from disk, however both libs/dexguard.jar and eclipse/com.saikoa.(...).jar…
kibitzerCZ
  • 487
  • 8
  • 20
4
votes
3 answers

Proguard "Missing type parameter" on Samsung device

I`ve published an android app, obfuscated by dexguard. Everything seems to be fine, except for the Galaxy Tab 3 10.1 and only with Android 4.4, which is the only device, that reports errors to the developer console. I get following…
0xPixelfrost
  • 10,244
  • 5
  • 39
  • 58
3
votes
1 answer

add Crashlytics in project have Dexguard

I am tired to sync my project whit Crashlytics. in my app using Dexguard and in release app is not synced whit Crashlytics. and add this code in Dexguard file: -keepattributes *Annotation* -keepattributes SourceFile,LineNumberTable -keep public…
tohid hajimorad
  • 187
  • 1
  • 9
3
votes
1 answer

java.nio.file.InvalidPathException: Trailing char < > at index 10: res/raw/?

I am facing this issue in android app bundle. I have created the android app bundle from android studio 3.4.2 successfully and now i want to build apks from that bundle using bundletool so later i can install the build using the bundletool. But when…
3
votes
2 answers

Android Studio 3.0 and gradle upgrade - base.apk code is missing while creating apk

I tried to upgrade my gradle from 2.3.3 to 3.0.0 in Android Studio 3.0 (stable). Project builds fine but I get issue while creating/installing APK: Failure [INSTALL_FAILED_INVALID_APK: Package couldn't be installed in /data/app/xxxx Package…
3
votes
3 answers

How to obfuscate a class which is referenced in Manifest file using Dexguard?

I am using Dexguard in my app and I want to obfuscate a class which extends Activity class, I get to know that it is hard because it is referenced in Manifest file. My question is: is there any way to obfuscate a class which it is referenced in…
MrDEV
  • 3,490
  • 1
  • 19
  • 20
3
votes
1 answer

Android gradle plugin (after upgrade to 2.2.0) fails at dexguard task error "No signature of method: ....getAllLibraries()"

I get this stacktrace during "dexguard" task (all lines did begin with timestamp and [ERROR] [org.gradle.BuildExceptionReporter]): Caused by: groovy.lang.MissingMethodException: No signature of method:…
Ped7g
  • 16,236
  • 3
  • 26
  • 63
3
votes
1 answer

Encrypt APK without obfuscation Dexguard

For an evaluation I want to encrypt all strings in my APK file with DexGuard, but without using the obfuscation, shrinking or optimization options. Is this possible or am I forced to obfuscate the APK to encrypt it? I use the following command line…
Leonid Glanz
  • 1,261
  • 2
  • 16
  • 36
3
votes
2 answers

Excluding manifest file from obfuscation

Is there a way to prevent AndroidManifest.xml from being obfuscated by DexGuard? It seems that MobileIron has some troubles with obfuscated manifest of our Android application. It processes a "plain" application just fine, but throws an error at the…
kibitzerCZ
  • 487
  • 8
  • 20
3
votes
1 answer

Unable to apply plugin: 'dexguard' at build.gradle file

I've below error when I add apply plugin: 'dexguard' into my main module's build.gradle file. Error:Unable to load class 'com.android.build.gradle.BasePlugin$PostCompilationData'. Possible causes for this unexpected error include:You are using…
Devrim
  • 15,345
  • 4
  • 66
  • 74
3
votes
2 answers

DexGuard: how to specify string encryption

I am trying to get a basic understanding of how to specify string encryption using the command -encryptstring in the file dexguard-project.txt. For example, I see -encryptstrings "android.content.pm.PackageInfo",…
Monica
  • 389
  • 1
  • 7
  • 19
3
votes
1 answer

Is DexGuard tamper and Environment detection helpful?

I am very new to DexGuard and Proguard. I was going through their documentation and sample examples. They have dexguard_util which helps you detect if the application is tampered with and also helps in detecting if it is running in the environment…
nsp
  • 378
  • 1
  • 4
  • 19
3
votes
1 answer

How to disable non-ASCII characters in dexguard obfuscation?

We are using Crittercism to analyze our app-crashes, but since we also use DexGuard with default obfuscation-options, Crittercism is unable to de-obfuscate the stacktraces with the mappings.txt generated by DexGuard. So, my question is simple: How…
arne.jans
  • 3,798
  • 2
  • 22
  • 27
1
2
3
11 12