flexbox-layout icon indicating copy to clipboard operation
flexbox-layout copied to clipboard

Proguard problem?

Open portfort opened this issue 6 years ago • 2 comments

I'm getting a bunch of errors when I try to run my project. The errors are all to the tune of:

Warning: com.google.android.flexbox.FlexboxLayoutManager: can't find referenced method 'void setAutoMeasureEnabled(boolean)' in program class com.google.android.flexbox.FlexboxLayoutManager

and around 40 other similar errors.

I'm using Flexbox 0.3.2

When I switch back to 0.3.0 the app runs but with the warning about multiple support libraries.

When I set minifyEnabled to false the app runs.

In my proguard-rules.txt I have -keep public class com.google.android.flexbox.FlexboxLayoutManager

Since I can't find any similar reports of this, I must be doing something wrong.

portfort avatar Mar 13 '18 22:03 portfort

Same issue here with Flexbox 0.3.2. If I switch to 0.3.1, it compiles ok, but with com.android.support:appcompat-v7 version conflict.

Did you find a solution?

pwireless avatar May 03 '18 16:05 pwireless

Same Issue

aswinmohanme avatar Jul 27 '18 05:07 aswinmohanme