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

splitdexfile causes crash : Facebook SDK Parcelable encounteredClassNotFoundException reading a Serializable object

I tried to apply splitdexfile option to split Facebook's sdk as a separate dex file. What I've done so far: 1) I've added below line to my dexguard-project.txt file: -splitdexfile com.facebook.** 2) And below line to my project.properties…
Devrim
  • 15,345
  • 4
  • 66
  • 74
2
votes
0 answers

SecurityExceptions in GooglePlay services

After last update of our application we start getting tons of crashes like: java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadProxy@4752d050 (pid=24424) when binding service Intent { …
2
votes
0 answers

How to obfuscate a subset of classes with proguard/dexguard

I have a working dexguard project that is working okay. Now I want to obfuscate 2 classes because of a bug with appcompat-v7 v21.0.0. The problem is that I am not able to do it. I think there are contradicting rules avoiding the obfuscation. Here is…
Notbad
  • 5,936
  • 12
  • 54
  • 100
2
votes
3 answers

How to disable Dexguard?

I went through the documentation looking for the way how to disable dexguard when running gradle but keeping plugin: 'dexguard'. I tried to modify proguardFile getDefaultDexGuardFile('dexguard-debug.pro') to do nothing but unfortunately no luck. I…
Amio.io
  • 20,677
  • 15
  • 82
  • 117
2
votes
2 answers

Dexguard security during debugging

i am using Dexguard in my android application to protect from reverse engineering.Now in my application which is very big ,i have used several places System.out.println in many classes in which i am printing my server URL to…
abh22ishek
  • 2,631
  • 4
  • 27
  • 47
2
votes
2 answers

How can I obfuscate XML resource files with DexGuard?

I am using to DexGuard to process my android applications. On DexGuard's Homepage they say it features: XML resource obfuscation I already tested DexGuard and decompiled my output .apks with apktool. The problem is ALL resource files are decompiled…
ice_chrysler
  • 2,633
  • 1
  • 21
  • 27
2
votes
2 answers

Android Studio - No such property: baseName for class

I am trying to add Dexguard to Android Studio. I have followed the guidelines so my build.gradle is the following: buildscript { repositories { mavenCentral() flatDir { dirs '/Users/XXXX/Desktop/DexGuard5.3.00/lib' } } …
1
vote
1 answer

java.lang.RuntimeException: Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang.NullPointerException

Hi I am trying to build our app for its release variant but it triggers the following error when running the app for the first time. Steps to replicate: Build a signed apk Install the apk on the emulator App Crash FATAL EXCEPTION: main Process:…
1
vote
0 answers

Drawables not loading with coil in release build after applying dexguard

I am using coil(Kotlin) library to load drawables. Working fine in debug build but after generating release build with dexguard no drawable loads. Library I am using implementation("io.coil-kt:coil:1.1.0") …
Bilal Bangash
  • 207
  • 2
  • 8
1
vote
1 answer

Fatal Exception: java.lang.NoClassDefFoundError: kotlinx.coroutines.CoroutineExceptionHandlerImplKt

In our recent release of out application we are getting Fatal Exception: java.lang.NoClassDefFoundError: kotlinx.coroutines.CoroutineExceptionHandlerImplKt more often, The stack-trace says that it didn`t find the class at DexPathList. We were using…
uddi baba
  • 135
  • 2
  • 13
1
vote
3 answers

Expecting type and name instead of just 'setExtensionCallback'

I am trying to generate signed apk for my application but it fails with error Expecting type and name instead of just 'setExtensionCallback' before '(' in line 326 of file 'pathtofile\release\consumer-rules.pro', I am not sure what is causing and…
uddi baba
  • 135
  • 2
  • 13
1
vote
2 answers

How to print log inside release aar

I want to build an apk and inside it I need to use release aar inside it. The aar must be release build since I need to shrink and obfuscate it. But I would like to print the log for network log to see if my obfuscation will not bother the request…
Francis Bacon
  • 4,080
  • 1
  • 37
  • 48
1
vote
0 answers

E/WM-WorkerFactory: Could not instantiate com.xyz.XYZWorker

I am working on native Android app with Kotlin. I implement a Worker class to run async webservice call. My worker works fine unless I don't build with dexguard. With dexguard builds only I get following error 2021-12-07 18:16:46.085 25839-29600/?…
1
vote
1 answer

Getting java.lang.OutOfMemoryError while building Release APK with DexGuard

I am getting java.lang.OutOfMemoryError at app startup i.e Splash Activity, when building release APK with latest dexguard version 9.1.13. java.lang.OutOfMemoryError: Failed to allocate a 574109856 byte allocation with 938429 free bytes and 253MB…
Umair Mustafa
  • 209
  • 4
  • 13
1
vote
2 answers

Crashlytics don't report crashes in firebase

Application using Dexguard(8.4.9), Crashlytics(17.2.2), CrashlyticsGradle(2.3.0) Already insert a lot of rules in dexguard-rules and not solved that. All help will be welcome. Logcat: D/FirebaseCrashlytics: Checking for crash…