Open AbdelrahmanHesham14 opened 1 year ago
Same here. +1
I added this in Proguard as mentioned in the ViewBindingKotlinModel class
-keepclassmembers class * extends androidx.viewbinding.ViewBinding { public static *** bind(android.view.View); }
but still getting the same NullPointerException.
@BlackFish768 Yes it's very weired @elihart Please advise here
me too, error when minifyEnable = true I use gradle 8.1.0
I get the same error with the following specs:
AGP 8.0.0 com.airbnb.android:epoxy - v5.1.3 Same stacktrace as posted in the details of this issue.
No response from the team till now ! Anyone found a solution ?!
Related issue: #1122
Don't know how helpful this is a year and a half later. When you update to AGP 8 it forces android.enableR8.fullMode
to true. it's a more aggressive code minification. you have to explicitly set it to false in your gradle.properties
file
android.enableR8.fullMode=false
That should avoid the need to figure out what rule to add
@cemore2048 solutions fixed for me. But does it acceptable to close the bug.