proguard Questions
2
When trying to create a release signed apk, Build fails at task
app:uploadCrashlyticsMappingFileRelease'.Host name must not be empty.
I have enabled obfuscation .
buildTypes {
release {
minifyE...
Thereof asked 29/12, 2020 at 7:6
7
Solved
Currently, I'm having experience that, a piece of code, which makes use of Google Drive API is running fine without introducing ProGuard.
However, after introducing ProGuard, I'm getting the follo...
Scyros asked 19/1, 2013 at 2:20
18
Solved
I get following error when I was running an app within Android Studio 2.
Gradle tasks [:app:assembleDebug]
Could not determine the dependencies of task ':app:crashlyticsStoreDeobsDebug'.
> Task...
Stevie asked 22/12, 2015 at 17:17
4
Gradle : 4.10.1
Gradle Android Plugin version : 3.3.2
Proguard : 6.0.3
JDK - 1.9
Android Studio 3.3.2
When I try to build apk release version along with Proguard. I get the following error -
Cau...
Gainsay asked 10/4, 2019 at 9:20
2
Solved
I'm getting this annoying ClassCastException when I obfuscate my Java code (which works fine before I obfuscate using ProGuard).
java.lang.ClassCastException: com.google.gson.internal.StringMap c...
Bussey asked 8/5, 2015 at 10:32
0
Up until not too long ago, I followed the guideline that "In general, it is a good idea to use the proguard-android.txt file as the default proguard file and then add any additional rules that...
12
Solved
When using the Firebase SDK for Android apps, I keep getting warnings and errors like these (in Eclipse):
Warning ... can't find referenced class ...
Warning: there were ... unresolved references ...
3
I enabled R8 plugging for obfuscation
I got an exception when I am trying to generate the signed apk
"Library class android.content.res.XmlResourceParser implements program class org.xmlpull.v...
Acetanilide asked 22/10, 2021 at 7:19
1
Currently my UI tests run fine with minifyEnabled set to false for debug builds. However I want to be able to run our UI tests with minifyEnabled but I'm getting the error:
java.lang.NoClassDefFoun...
Templin asked 20/8, 2020 at 3:16
3
I have been using the eclipse built in proguard tool to obsucate the code, which Works fine. However when I try to retrace the stack trace of the obfuscated code, retrace doesn't output an un-obfus...
1
Solved
After updating to Android Gradle Plugin 8.0, I get the following build-time errors during the minifyReleaseAndroidTestWithR8 step:
Missing classes detected while running R8. Please add the missing...
Mycetozoan asked 25/4, 2023 at 20:24
3
Getting these warning while using r8
Missing class org.bouncycastle.jsse.BCSSLParameters (referenced from: void okhttp3.internal.platform.BouncyCastlePlatform.configureTlsExtensions(javax.net.ssl.S...
Gemstone asked 16/9, 2022 at 18:25
3
Solved
I have a project which contains a lot of drawables, which are named starting with "a" or "b" (For example a1_back, a2_back, b1_start, b2_start and many-many more). Those drawables are not used in c...
Saturn asked 22/12, 2016 at 10:39
3
Solved
In my buildType I see this:
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
I have some questions:
Why the...
Headlong asked 1/1, 2016 at 6:40
7
Solved
My code works perfectly without proguard, but GSON doesn't work when proguard is enabled.
This is the part of code where it doesn't works
JSONArray mensaje = response.getJSONArray("categorias");
...
Brigittebriley asked 5/8, 2015 at 23:16
5
Solved
I want to exclude some file paths from ProGuard. Example com.myapp.customcomponents
How can I do this? I hate to be placing -keep flags for every single custom component file I have in this direct...
31
Solved
According to Google, I must "deactivate any calls to Log methods in the source code" before publishing my Android app to Google Play. Extract from section 3 of the publication checklist:
Make su...
Shipowner asked 15/3, 2010 at 10:0
4
Solved
I have a Kotlin class with some variables in companion object. After enabling proguard, The variables are not getting accessed.
class Test{
......
companion object {
const val USER_NAME = "u...
3
Solved
I am getting a fatal exception when i use proguard on my release build.
Caused by: java.lang.NoSuchFieldError: no "Lcom/facebook/jni/HybridData;" field "mHybridData" in class "Lcom/facebook/react/...
George asked 18/3, 2017 at 9:37
3
I m trying to use shrinkResources and its failing at the build time. I don't see any issue when I don't shrinkResources. I have following configurations:
minifyEnabled true
shrinkResources true
...
Mccalla asked 11/10, 2017 at 15:53
6
Solved
In my android app, i want to test some features with proguard on.
I don't need to really "debug" it, but i want proguard to run when i hit run in eclipse. I don't want to export the binary every t...
1
The app crashes only in its release version with desugaring Java 8 for Android.
compileOptions {
// Flag to enable support for the new language APIs
coreLibraryDesugaringEnabled true
// Sets Jav...
Cavour asked 23/5, 2021 at 4:21
3
Solved
I want to check which classes and methods were removed.
Any way to achieve this?
I know mapping.txt shows which symbols is obfuscated to what.
But what is removed is not listed there as I know.
Pr...
4
Solved
When i checked the crash of my application ,noticed this report
Upload your ProGuard deobfuscation file in order to deobfuscate future stack traces for this APK version.
checked this link but didn...
2
Solved
I have create a module in Android to use in my main app and there seem to be two of these files
consumer-rules.pro and proguard-rules.pro.
I would like to know the folllowing things
Will all o...
© 2022 - 2025 — McMap. All rights reserved.