renaudcerrato / FloatingSearchView

Yet another floating search view implementation, also known as persistent search.
Apache License 2.0
1.33k stars 161 forks source link

DrawableWrapper crashes #28

Open jkwiecien opened 6 years ago

jkwiecien commented 6 years ago

DrawableWrapper crashes after updating to support lib 27.1.0


Fatal Exception: java.lang.NoClassDefFoundErrorFailed resolution of: Landroid/support/v4/graphics/drawable/DrawableWrapper; Raw Text
--
  | com.mypopsy.widget.FloatingSearchView.unwrap (SourceFile:621)
  | com.mypopsy.widget.FloatingSearchView.fadeIn (SourceFile:452)
  | com.mypopsy.widget.FloatingSearchView.setActivated (SourceFile:356)
  | com.mypopsy.widget.FloatingSearchView$4.onFocusChange (SourceFile:261)
Caused by java.lang.ClassNotFoundException
Didn't find class "android.support.v4.graphics.drawable.DrawableWrapper" on path: DexPathList[[zip file "/data/app/se.aftonbladet.viktklubb.loggbok-1/base.apk"],nativeLibraryDirectories=[/data/app/se.aftonbladet.viktklubb.loggbok-1/lib/arm64, /system/lib64, /vendor/lib64]]
angebagui commented 6 years ago

I have the same crash

renaudcerrato commented 6 years ago

Thanks for reporting ! PR are welcome :)

jkwiecien commented 6 years ago

I'll try something now

jkwiecien commented 6 years ago

I think I've fixed it, before its get merged you can use my fork: implementation 'com.github.jkwiecien:FloatingSearchView:1.1.2'

ShahoodulHassan commented 5 years ago

@jkwiecien Thanks for the effort! Is it successfully working at your end or have u found any bugs here and there?