All Questions

26
votes
5answers
44144 views

Error:Execution failed for task ':android:transformClassesAndResourcesWithProguardForRelease'

Every time I am getting this error when running my project. I can do a Clean and then Run again, and it works. But it is not an optimal solution. Any ideas? Error:Execution failed for task ':android:...
38
votes
4answers
18811 views

Xamarin.Android Proguard - Unsupported class version number 52.0

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 that...
5
votes
2answers
2468 views

How to get release build apk file using proguard

I am trying to use ProGuard to make release apk file for my project, Apparently I am using many third party libraries, Where I need to use only few classes from them, I would really like to get some e...
36
votes
2answers
4476 views

How to perform minification and obfuscation with the JACK compiler?

Google has released a test version of their new JACK compiler for Android developers with Android Studio 2.1. My question is, how do we enable obfuscation for the APK with JACK? The article below say...
46
votes
7answers
41316 views

Progaurd issue "Warning:Ignoring InnerClasses attribute for an anonymous inner class"

I don't know how I can describe this issue. I searched a lot, but I didn't find any solution. Also this solution did not help me -keepattributes EnclosingMethod: dependencies { compile project('...
3
votes
1answers
4851 views

Error building APK when minifyEnabled true

I need to enable proguard, so I set minifyEnabled to true. However, I then get the following error when trying to build a release APK: Error:Execution failed for task ':app:packageRelease'. Unab...
0
votes
1answers
616 views

Build fails with app:transformClassesAndResourcesWithProguardForRelease on upgrading gradle version to 2.3.3

I have my gradle to 2.3.3. It is working fine in debug mode. But when i am running this in release mode with proguard enabled, It is thorwing this exception Warning:Exception while processing task...
14
votes
1answers
1777 views

Obfuscate private fields using ProGuard

I'm using ProGuard in AndroidStudio 1.2.1.1 with Gradle 1.2.3. My Gradle's release build is configured like so: minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'prog...
22
votes
1answers
7276 views

Updating Play services from 8.1 to 8.3 with Proguard enabled

I tried to update play services to 8.3. Here's what I changed : In the root gradle file : dependencies { classpath 'com.android.tools.build:gradle:1.5.0-beta1' classpath 'com.google.gms:goo...
24
votes
1answers
10486 views

Android Build with Gradle and ProGuard : "The output jar must be specified after an input jar, or it will be empty"

I'm creating a build with different flavors with Gradle. It used to run quite good until now, until I wanted to enable Proguard. I enabled minifyEnabled for my Release Build and now I'm having an exce...

Previous Next