Gradle ver: 3.4.1
JDK ver: 1.8
Proguard ver: 5.3.3
Android gradle plugin 2.3. +
Due to proguard, I get an exception from the assembly. I also tried proguard 5.3.2, but without success.
Here is my version of the configuration
release {
debuggable false
android.buildTypes.release.proguardFiles = []
proguardFile 'proguard-android.txt'
//minifyEnabled
shrinkResources true
signingConfig = signingConfigs.release
}
The following is a summary
Caused by: java.lang.IllegalArgumentException: Overflow of unsigned short value [95001]
at proguard.classfile.io.RuntimeDataOutput.writeUnsignedShort(RuntimeDataOutput.java:213)
at proguard.classfile.io.ProgramClassWriter$AttributeBodyWriter.visitLineNumberInfo(ProgramClassWriter.java:565)
at proguard.classfile.attribute.LineNumberTableAttribute.lineNumbersAccept(LineNumberTableAttribute.java:171)
PS: I can build using the android gradle plugin 2.2. + which I think uses a lower version of proguard.
source
share