dexguard

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

∥☆過路亽.° 提交于 2019-12-06 08:02:41
问题 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 /data/app/xxxx/base.apk code is missing] $ adb shell pm uninstall xxxx Unknown failure (at android.os.Binder.execTransact(Binder.java:674)) Error while Installing APK If I build standalone APK and install it directly on device/emulator I get that it is

How to disable non-ASCII characters in dexguard obfuscation?

好久不见. 提交于 2019-12-06 02:31:05
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. Curious what led you to think that disabling Non-ASCII characters would fix Crittercism's handling of DexGuard-obfuscated stacktraces? AFAIK they would need to use the ReTrace.jar that's part of DexGuard not ProGuard (sorry i don't know if it's

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

限于喜欢 提交于 2019-12-04 15:04:53
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 /data/app/xxxx/base.apk code is missing] $ adb shell pm uninstall xxxx Unknown failure (at android.os.Binder.execTransact(Binder.java:674)) Error while Installing APK If I build standalone APK and install it directly on device/emulator I get that it is malformed/incorrect. Project is with Kotlin, and DexGuard 8.0.12 which should allow for Kotlin and gradle

<activity> does not have a valid android:name when dexguarding

旧街凉风 提交于 2019-12-04 04:22:41
问题 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 line #290): <a ctivity> does not have valid android:name I have also added the following to the dexguard-project.txt but to no avail. -keepresourcexmlattributenames manifest/installLocation, manifest/versionCode, manifest/package, manifest

DexGuard integration in Android Studio 3.0

亡梦爱人 提交于 2019-12-03 13:46:58
问题 I have upgraded my Android project to use the latest Android Studio 3.0 features. Since then, I am getting the following warning message on each Gradle sync: Warning:One of the plugins you are using supports Java 8 language features. To try the support built into the Android plugin, remove the following from your build.gradle: apply plugin: 'dexguard' To learn more, go to https://d.android.com/r/tools/java-8-support-message.html If I go to the linked URL, I can see: If Android Studio detects

DexGuard integration in Android Studio 3.0

痞子三分冷 提交于 2019-12-03 03:37:35
I have upgraded my Android project to use the latest Android Studio 3.0 features. Since then, I am getting the following warning message on each Gradle sync: Warning:One of the plugins you are using supports Java 8 language features. To try the support built into the Android plugin, remove the following from your build.gradle: apply plugin: 'dexguard' To learn more, go to https://d.android.com/r/tools/java-8-support-message.html If I go to the linked URL, I can see: If Android Studio detects that your project is using Jack, Retrolambda, or DexGuard , the IDE uses Java 8 support provided by

Implementation of dexguard

不羁的心 提交于 2019-12-02 09:17:29
问题 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 i also want my assets to be obfuscated.This is not happening.So,how to obfuscate the assets of your android project with the help of dexguard. 回答1: DexGuard provides the option -encryptassetfiles to encrypt assets. It is documented in the DexGuard

Implementation of dexguard

眉间皱痕 提交于 2019-12-02 03:55:00
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 i also want my assets to be obfuscated.This is not happening.So,how to obfuscate the assets of your android project with the help of dexguard. Eric Lafortune DexGuard provides the option -encryptassetfiles to encrypt assets. It is documented in the DexGuard manual > Settings > -encryptassetfiles. The samples directory also contains a sample project

How does DexGuard encrypt classes?

江枫思渺然 提交于 2019-11-28 21:11:56
问题 I want to check how DexGuard works but it seems that it doesn't have a free trial version. Can DexGuard encrypt an Android application? Or does it simply obfuscate the code? How does DexGuard encryption work? If you could provide code from a sample application run with DexGuard before and after decompilation, it would be great. 回答1: ProGuard provides name obfuscation: it can replace the original names of classes, methods, and fields by short, meaningless names. DexGuard additionally provides