facebook / litho

A declarative framework for building efficient UIs on Android.
https://fblitho.com
Apache License 2.0
7.69k stars 763 forks source link

Can't find com.facebook.proguard.annotations.DoNotStrip in v0.30.0 #604

Open wangbax opened 4 years ago

wangbax commented 4 years ago

Version

implementation 'com.facebook.litho:litho-core:0.30.0' implementation 'com.facebook.litho:litho-widget:0.30.0' kapt 'com.facebook.litho:litho-processor:0.30.0' implementation("com.facebook.litho:litho-fresco:0.30.0")

implementation 'com.facebook.litho:litho-sections-core:0.30.0' implementation 'com.facebook.litho:litho-sections-widget:0.30.0' compileOnly 'com.facebook.litho:litho-sections-annotations:0.30.0' kapt 'com.facebook.litho:litho-sections-processor:0.30.0'

Issues and Steps to Reproduce

image

Expected Behavior

Compile success

wangbax commented 4 years ago

I found this commit. How can i solve it?

LukeXeon commented 4 years ago

Try not to extend LithoView in your project

wangbax commented 4 years ago

Try not to extend LithoView in your project

I solved it this way, but I don't know if it is the best way.

image

colriot commented 4 years ago

Hi @Tobyyyyyyyyyy ! That's currently the best workaround, you were right. But we need to fix it properly on our side. Thanks for reporting!