Skip to content
This repository was archived by the owner on Oct 26, 2022. It is now read-only.

Conversation

@ezh
Copy link

@ezh ezh commented Jun 9, 2012

we may add our proguard.cfg settings to proguardOptions with

proguardOption in Android <+= (baseDirectory) map { (b) => scala.io.Source.fromFile(b / "proguard.cfg").mkString }

or we may completely override proguardOptions with

proguardOption in Android <<= (baseDirectory) map { (b) => scala.io.Source.fromFile(b / "proguard.cfg").mkString :: Nil }

also add more verbose logging

[debug] executing proguard: arg1: -injars
[debug] arg2: "/hom....
[debug] arg3: -outjars
[debug] arg4: "/home/devbox/android/android-DigiLib/test/testPublicProperties/bin/target/classes.min.jar"
[debug] arg5: -libraryjars
[debug] arg6: "/home/devbox/android/android-sdk-linux/platforms/android-10/android.jar"
[debug] arg7: -dontoptimize

it is handy to fix errors like

android:proguard: proguard.ParseException: NNNNN in argument number 20

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant