android-proguard Questions
2
Solved
I'm creating a native android app and I want to release it.
I'm using retrofit and Gson converter. Also a search view.
For the release I have set up the proguard rules, as suggested by retrofit:
...
Dicast asked 15/10, 2017 at 21:49
4
Solved
I'm using the Google Rest API v3 to connect my android app to Google Drive. When I run without Proguard (minifyEnabled=false), all is well. However, when I enable proguard the wrong REST API method...
Cerise asked 2/11, 2016 at 11:21
3
I used Android SDK Manager to download the latest version of Android SDK. But ProGuard was not updated and remained at version 4.7.
Is it necessary to manually download ProGuard from its website a...
Strafe asked 27/2, 2017 at 18:58
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
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
5
Solved
I'm experiencing this crash when using proguard after integrating the NavigationComponent (android.arch.navigation:navigation-fragment-ktx:1.0.0-alpha01) into my project with target and compile sdk...
Allantoid asked 16/5, 2018 at 19:43
4
I am facing a problem with app size in android.
The scenario is,
I developed my android app in Android Studio 2.0 and the size of apk was 23 MB.
After that, I upgraded my IDE to android studio 2...
Galileo asked 20/10, 2016 at 12:19
1
The auto-generated proguard-rules.pro has the following:
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
I have...
Shied asked 8/5, 2019 at 12:19
2
I'd like to proguard (obfuscate) any classes marked with the kotlin internal visibility modifier.
Kotlin internal classes are public on the JVM, so they are visible and usable from Java source. I ...
Ombre asked 3/4, 2018 at 14:18
5
Solved
i am using ProGuard in my project but its giving wrong data in new Gson().toJson(Request);
i am getting out put
{"a":"manage","b":"689184d4418b6d975d9a8e53105d3382","c":"10","d":"76"}
instead ...
Chlortetracycline asked 28/7, 2016 at 9:5
2
I am trying to add a prebuilt jar to Android when I compile AOSP.
The name of the jar is "nxpnfclib.jar" and I put it to AOSP/prebuilts/misc/common/nxp. I also write a Android.mk:
LOCAL_PATH:= $(c...
Ridgeling asked 20/4, 2016 at 13:43
6
I am using the following ProGuard rules:
-keepclassmembers class * extends org.greenrobot.greendao.AbstractDao { *; }
-keep class **$Properties
-keep class org.greenrobot.greendao.**
-keepclassm...
Fey asked 3/2, 2017 at 11:53
3
Solved
In my application i want use Room library for use database, and for finally for generate APK i enable minify option (proguard) in Build.Gradle .
I use below version of Room library :
implementat...
Indention asked 10/12, 2018 at 6:52
4
Recently I did migration of my application to targetSdkVersion = 28.
After publishing the updated app to Google Play I started to get very strange crash reports in Fabric.io:
Crash report
Fatal Ex...
Satem asked 8/4, 2019 at 6:26
1
I declared a package-level function as utility in my library and I want to use it in my main app.
My issue is that I am not able to keep it from code obfuscation using proguard (and consequently u...
Oeildeboeuf asked 15/10, 2018 at 13:34
2
Solved
My Project has few classes that extends Parcelable.
Do I need to 'keep' them in proguard rules while obfuscating.
What is the general practice for parcelables?
Schrock asked 18/3, 2016 at 5:31
7
Solved
I am using from Proguard for my project and bellow code is in my proguard-rules.pro :
# Retrofit
-keep class com.google.gson.** { *; }
-keep class com.google.inject.** { *; }
-keep class org.apach...
Verbid asked 14/12, 2016 at 6:9
3
Solved
I enabled proguard for my android app. I can build the project successfully but it crashes on startup with classNotFoundException. It doesn't even find the launcher activity. Here is my proguard ru...
Furfural asked 17/2, 2015 at 14:34
4
I have the following code:
public class MyClass {
public void method1(Integer marks) {
}
private String method3(String name){
}
public interface interface1 {
void method4(Integer ID);
vo...
Evoy asked 9/2, 2016 at 11:16
3
Solved
Every thing work fine before setting
minifyEnabled true
and
shrinkResources true
After setting these values, whenever i run project i get this error:
Information:Gradle tasks [:app:ass...
Blighter asked 29/7, 2017 at 9:41
2
I recently publish my app to play store as a app bundle and everything is working fine except for above mentioned issue. I have added bellow pro-guard rules in my app and it was working fine with m...
Angiology asked 10/12, 2018 at 4:34
2
Solved
The data retrieved perfectly when run the app on the device or emulator, but it is not showing the images when generate release apk
I think the problem is due to proguard so I tried this answer
h...
Phares asked 6/12, 2017 at 8:11
2
Solved
I am using the AWS cognito SDK for Android, version 2.4.3. It works perfectly fine on debug version, but on release versions, in case of error, I cannot get a proper description on the exception. I...
Jegar asked 26/5, 2017 at 17:39
5
Solved
Similar questions have need asked already. But this one seems to be more complicated than previous ones because of changes in compatibility of Android Platforms.
Here is my error log from Pixel an...
Shad asked 16/8, 2018 at 8:2
6
Solved
I'm trying to use Proguard in my Xamarin.Android project, yet the compilation fails with the error Unsupported class version number [52.0] (maximum 51.0, Java 1.7)
I saw from those two questions t...
Rives asked 15/9, 2016 at 15:7
1 Next >
© 2022 - 2025 — McMap. All rights reserved.