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

Java library with dexguard

I would like to obfuscate my pure Java library but I am not sure how to use dexguard in my and build.xml file. Can somebody show me an example? My current code is following:
1
vote
2 answers

Proguard does not remove Log.d in internal classes?

I use -assumenosideeffects class android.util.Log { public static boolean isLoggable(java.lang.String, int); public static int v(...); public static int i(...); public static int w(...); public static int d(...); public…
frankish
  • 6,738
  • 9
  • 49
  • 100
1
vote
1 answer

Dexguard conflicting with other plugins in Android development

I have been using Dexguard for my Android project, and it's been working fine until recently I had to use a another plugin. Because the way the other plugin is built, it is required that the project applies either "com.android.application" or…
Alex
  • 51
  • 1
  • 5
1
vote
1 answer

Android Dexguard: How to integrate?

I am trying to use Dexguard in order to obfuscate my simple Android Application. I have followed the integration steps, I.e. adding the jar file into the libs folder in Eclipse. However, Dexguard does not seem to be integrated into my…
user999222
  • 289
  • 1
  • 4
  • 11
1
vote
1 answer

Eclipse Build Error after DEXGuard install

I had put Dexguard's jar file on dropins folder.When I build my application on Eclipse IDE it shows an Error message. Error Occurred during the build. Error running builder 'Android optimizer and Obfuscator(DexGuard) on project…
1
vote
2 answers

Non-ASCII characters in dexguard obfuscation

I am trying to use the retrace tool that comes with dexguard to debug an exception in obfuscated code. The obfuscated identifiers use non-ASCII characters, at least that is what it looks like in the mapping file that is produced, for…
mathiash
  • 93
  • 1
  • 5
1
vote
1 answer

Is there a way to make DexGuard exit with an error condition if an error occurs?

I'm currently building an android application using ANT on a Jenkins server. DexGuard is set to run on release in the custom_rules.xml. Currently there is an issue when DexGuard tries to convert a method: [dexguard] Unexpected error while…
ShortMan
  • 101
  • 5
1
vote
1 answer

dexguard: encryptstrings in Activity classes?

dexguard: Can the -encryptstrings command be used with Activity classes ? I'm asking because it does not work for me when using -encryptstrings public class com.example.my.MainActivity or -encryptstrings com.example.**MainActivity Also the Ant…
fritz
  • 427
  • 1
  • 5
  • 13
1
vote
1 answer

dexguard: encryptclasses AND encryptstrings?

Dexguard: Does it make sense to use the "-encryptstrings" command for a specific class when already using the "-encryptclasses" command for this class ?
fritz
  • 427
  • 1
  • 5
  • 13
1
vote
2 answers

Implementation of dexguard

i have put com.saikoa.dexguard.eclipse.adt_*.jar file in dropin folders of eclipse.And modified the Proguard-Project and Project-Properties Files in android Project.And i build the release version of .apk.The thing my apk is obfustcated,shrinked.but…
abh22ishek
  • 2,631
  • 4
  • 27
  • 47
0
votes
0 answers

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

my android application works fine on real devices. but when I install it on emulators like genymotion it installs fine. but when I run/tab it, it stops working and in the logcat this log is written java.lang.RuntimeException: Unable to get provider…
hanan
  • 532
  • 2
  • 7
  • 23
0
votes
1 answer

how to apply proguard at particular part of code or class or Activity in android

we are enabling proguard in android project for all packages regularly. so, we are using keep functionality and exclude some particular classes or packages or Library aar's from obfuscate(proguard) in Android. Here my exact query, Instead of…
harikrishnan
  • 1,985
  • 4
  • 32
  • 63
0
votes
2 answers

How to resolve libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 19062 (GLThread 249), pid 15351

I am having this issue when trying to open the HMS Map on release mode with dexguard. the app crashes and gives this exception: libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 19062 (GLThread 249), pid 15351…
0
votes
1 answer

Dexguard release build throws error: java.lang.UnsatisfiedLinkError: dlopen failed: library "libsuprema_libusb.so" not found

I am trying to make dexguard release build having libraries .so files so when I attach the debugger adb logcat throws exception: java.lang.UnsatisfiedLinkError: dlopen failed: library "libsuprema_libusb.so" not found Please any one guide as i am…
0
votes
1 answer

Ionic splashscreen is broken after ProGuard/DexGuard

We're using SplashScreen plugin on the Ionic App, which seems to work fine on usual debug and release builds. But when we turn on the DexGuard/ProGuard for build steps and generate a protected APK file, there the splash screen is not shown at…
Just Shadow
  • 10,860
  • 6
  • 57
  • 75