dexguard

How to disable Dexguard?

為{幸葍}努か 提交于 2021-02-18 17:59:48
问题 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 need to set no dexguard functionality for my functional testing suit MonkeyTalk which cannot instrument the apk now. How to turn the dexguard functionality off? 回答1: Update from zatziky's answer for current Android Gradle Plugin (v1.0+) and Dexguard

How to disable Dexguard?

人走茶凉 提交于 2021-02-18 17:59:28
问题 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 need to set no dexguard functionality for my functional testing suit MonkeyTalk which cannot instrument the apk now. How to turn the dexguard functionality off? 回答1: Update from zatziky's answer for current Android Gradle Plugin (v1.0+) and Dexguard

Disable DexGuard only for certain product flavors

杀马特。学长 韩版系。学妹 提交于 2021-01-29 04:44:16
问题 I use DexGuard and have 4 product flavors (prod, qa, dev, mock) for 2 build types (release and debug) and I don't enable DexGuard for debug builds and hence I get 4 variants ( dexguardProdRelease ... dexguardMockRelease ) however, I don't want to enable DexGuard for dev and mock flavors. I learnt about variantFilter that Gradle provides however, I don't know how to use that command in relation to a plugin, DexGuard, in this case. 回答1: I was able to solve like so: //added to filter dexguard

Flexjson and Dexguard/Proguard

旧时模样 提交于 2020-01-01 10:58:30
问题 I am having issues using dexguard when it comes to flexjson library. I keep getting the following error when trying to deserialize using JSONDeserializer. **09-15 20:46:10.271 10901-11552/** **A/art: sart/runtime/class_linker.cc:3430] Check failed: klass->IsProxyClass()** Does anyone have the proper rules for flexjson to work properly after obfuscation in android release apks? Something similar to gson lib. 回答1: Chances are that this is on a Samsung device -- a few device models and Android

DexGuard and Vector Drawables

∥☆過路亽.° 提交于 2019-12-24 05:44:09
问题 I am using DexGuard to compile my app. My app uses vector drawables. I have all the settings correct, and it works correctly, both in the debug version, and when I use Proguard for the release version. It only crashes in the release version when using DexGuard. So I know it's a DexGuard issue. I am using DexGuard v7.0 and I cannot update due to license restrictions. I have added -keepresourcefiles "res/drawable/**" -keep class android.support.v7.** { *; } to my dexguard file for testing

Getting error building App: app:transformDexArchiveWithDexMergerForDebug

青春壹個敷衍的年華 提交于 2019-12-22 06:02:24
问题 I get the following error while building the app in android studio, why this is happening? Is it related to my proguard rules or dexguard rules? when I add " multiDexEnabled true" in build.gradle file, I get below error: Error:Execution failed for task ':app:transformDexArchiveWithDexMergerForDebug'. > com.android.build.api.transform.TransformException: java.nio.file.NoSuchFileException: D:\android\app\build\intermediates\multi-dex\debug\maindexlist.txt But, when I add " multiDexEnabled true"

Dexguard vs Android plugin - breaks build process

别等时光非礼了梦想. 提交于 2019-12-13 05:16:30
问题 When i try to use dexguard plugin in place of android plugin ( dexguard plugin extends android ), my gradle build process fails with this error: $ ./gradlew assembleDebug FAILURE: Build failed with an exception. * Where: Build file '/projectRoot/app/build.gradle' line: 1 * What went wrong: A problem occurred evaluating project ':projectRoot:app'. Could not create plugin of type 'g'. The first line build.gradle for my app module is apply plugin: 'dexguard' The build.gradle for my whole project

DexGuard java.io.IOException: The same input jar

亡梦爱人 提交于 2019-12-13 02:59:20
问题 I'm facing this issue when using dexguard > Task :app:dexguardStaging FAILED The TaskInternal.execute() method has been deprecated and is scheduled to be removed in Gradle 5.0. There are better ways to re-use task logic, see https://docs.gradle.org/4.3/userguide/custom_tasks.html#sec:reusing_task_logic. FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:dexguardStaging'. java.io.IOException: The same input jar [/Users/radityagumay/Library/Android/sdk

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

三世轮回 提交于 2019-12-10 18:11:29
问题 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 Manifest file? 回答1: Wherever possible, DexGuard obfuscates the names of classes, fields, methods, resources, resource files, asset files, and native libraries, and it adapts their occurrences in the code, the manifest, and other resources. More

How to disable non-ASCII characters in dexguard obfuscation?

拈花ヽ惹草 提交于 2019-12-07 11:57:06
问题 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 can I disable Non-ASCII characters for DexGuard-obfuscation? We are using the Gradle-buildsystem btw. 回答1: Curious what led you to think that disabling Non-ASCII characters would fix Crittercism's handling of DexGuard-obfuscated stacktraces? AFAIK