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

Using ProGuard / Dexguard with multiple Android Studio Modules

I have an Android Studio android project with two modules, Module A and Module B. I am building and testing these modules and then distributing them as .aar files. When the parent app that uses the .aars runs I am encountering an AbstractMethodError…
neonDion
  • 2,278
  • 2
  • 20
  • 39
3
votes
1 answer

Java NoClassDefFoundError with DexGuard and spongycastle

I'm trying to get DexGuard running on a project I'm working on. I already have ProGuard running successfully with proguard-rules.pro. After running a DexGuard release built the app crashes with FATAL EXCEPTION: main Process: com.project.fr, PID:…
Aegis
  • 5,761
  • 2
  • 33
  • 42
3
votes
1 answer

Gradle issue when upgrading from 0.14.0 to 1.0.0

I've just upgraded my Android studio from 1.0 RC 2 to 1.0.1. After that, I was prompted to update the gradle plugin from 0.14.0 to 1.0.0. Once I did that, gradle build is failing with erro - Error:No such property: GRADLE_SUPPORTED_VERSIONS for…
Tushar Nallan
  • 784
  • 6
  • 16
3
votes
1 answer

Android dexguard: Multiple problems have occured?

I am getting the following error when trying to install DEXguard onto a simple application within Eclipse: Errors occurred during the build. Errors running builder 'Android Optimizer and Obfuscator (DexGuard)' on project…
user4125772
  • 159
  • 1
  • 10
3
votes
2 answers

Retrace for DexGuard

I use DexGuard for obfuscation. I have the stack trace from crash log and the mapping file. When I run retrace.bat, giving it the stack trace and the mapping file, the output is still in the obfuscated format.
Juuso Ohtonen
  • 8,826
  • 9
  • 65
  • 98
3
votes
1 answer

Android Studio and Dexguard

I am trying to run Dexguard with Android studio. But unable to build the project. Exception is caused in the line "apply plugin 'dexguard' ". Exception is Cannot add task ':XXXX:uninstallAll' as a task with that name already exists. Stacktrace…
Gaurav Vashisth
  • 7,547
  • 8
  • 35
  • 56
3
votes
2 answers

does not have a valid android:name when dexguarding

I am trying to dexguard an application that I run as a system application. However when I try to push it to the system/app directory, I get the following error from the PackageParser. W/PackageParser( 1995): /system/app/My.apk (at Binary XML file…
Ranhiru Jude Cooray
  • 19,542
  • 20
  • 83
  • 128
2
votes
1 answer

HMS Dexguard Obfuscation issue

I have implemented dexguard in my application. Application is working when no obfuscation is done but crashes as dexguard obfuscation is done. it gives the error. Caused by: android.view.InflateException: Binary XML file line #0 in…
Taha alam
  • 372
  • 3
  • 11
2
votes
0 answers

Dexguard : Instruction has invalid constant index size

I am getting the following error while integrating Dexguard 8.5 version. I am trying to use the latest feature of downloading the Dexguard jars from a secure maven. My license file is located at the root directory of my project. As suggested by an…
2
votes
1 answer

While Updating dexguard version throw error - Crashlytics plugin is applied before the DexGuard plugin

When updating dexguard version i got error ---- Crashlytics plugin is applied before the DexGuard plugin. classpath 'com.android.tools.build:gradle:3.4.1' dexguard version 8.5.01 my plugins -- apply plugin: 'com.android.application' apply plugin:…
2
votes
1 answer

How to prevent Dexguard from obfuscating the resources folder in anroid studio?

I want to keep the \res folder so dexguard dont obfuscated this \res directory.Because dexguard is renaming all the file and some of the files have space at the end which is creating huge problem for me so I am trying to keep the res/ folder as…
Ahmad Izaz
  • 97
  • 3
  • 10
2
votes
2 answers

How to avoid 64K method limit with dexguard integration?

I have used dexguard for the next level security of my Android App. I updated to latest version of dexguard which is 8.3.03. In the documentation of dexguard they said that, multiDexEnabled=true is longer supported. Now my application code and user…
Yogesh Katkar
  • 369
  • 1
  • 4
  • 16
2
votes
1 answer

How to get a custom method inside a block with Kotlin Gradle DSL?

I'm migrating one app from Gradle Groovy to Kotlin. This app uses Dexguard, and it uses a method called getDefaultDexGuardFile to load the configuration file. release { signingConfig signingConfigs.upload proguardFiles…
Rafael Toledo
  • 5,599
  • 6
  • 23
  • 33
2
votes
1 answer

NPE on FirebaseFunctions getInstance

When invoking FirebaseFunctions.getInstance(FirebaseApp.getInstance()) an NPE is thrown. FirebaseApp.initializeApp(this); is called inside extended App class onCreate before calling any other firebase functionality. This is the stacktrace: Fatal…
Jameido
  • 1,344
  • 1
  • 11
  • 21
2
votes
1 answer

Runtime crashes with dexguard 8.2.16

I have a runtime crash in our app probably bound to Dexguard obfuscation. The app has no problems in debug and release mode without obfuscation, however once I generate the signed apk I get this crash at runtime: java.lang.RuntimeException: Unable…
Nicola Gallazzi
  • 7,897
  • 6
  • 45
  • 64
1 2
3
11 12