Closed Piasy closed 9 years ago
Setting android_sdk_proguard_config
to 'none'
looks suspicious. Your comment there implies to tried setting to to something else; was that 'optimized'
?
@sdwilsh Before I report this issue, first time I didn't set android_sdk_proguard_config
parameter, buck build app
failed with the same error message above, then I tried to set android_sdk_proguard_config = 'none'
, nothing changed.
But the really strange things is, today when I remove android_sdk_proguard_config
parameter, it works! and setting to 'optimized'
, it works too, but take more time to finish build, and setting to 'none'
will fail with the error message above. Really strange...
I think that was the expected behavior. If you set it to 'none'
, the default configuration isn't going to be loaded at all.
@sdwilsh Yes I understand that, what bothered me was before I open this issue, it didn't work even when I didn't set android_sdk_proguard_config
parameter, but after a week, it just works. Maybe I missed something, anyway, it works fine, that's good.
I'm trying to use buck to do release build, and the proguard config works fine for gradle build, but buck build fail. Below is my
android_binary
rule:buck install app
fails with error message:Full demo project is here: https://github.com/Piasy/OkBuck/tree/9096d27e29c2f91d92e46b78d25b5f8b4f229604.