Nurahmat Turak
Nurahmat Turak
在这里推广自己的框架...Hmm 有意思。
谷歌方已经回复了这个问题。从4.1版本开始提供新的方式,Geminio,用Kotlin的形式编写新的template。 The Google's annonced that the new way for using the Templates functions is Geminio. you can find the link below. https://github.com/hhru/android-multimodule-plugin/blob/master/plugins/hh-geminio/README_EN.md
> > 谷歌方已经回复了这个问题。从4.1版本开始提供新的方式,Geminio,用Kotlin的形式编写新的template。 > > The Google's annonced that the new way for using the Templates functions is Geminio. you can find the link below. > > https://github.com/hhru/android-multimodule-plugin/blob/master/plugins/hh-geminio/README_EN.md > >...
> 这是报错信息-->Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. 把自己项目Kotlin版本升级一下?或者把这个项目拉下来,降低版本,用AAR也可以。
hasFixedSize 后试一下,RV内部重新计算View宽高,如果跟原来的不一样会往上滚动。
同样的问题,不过能编译通过,报红而已。如果需要解决,那把适配器转化成Kotlin就不会报错,layoutPosition方法也存在。
you just need to install the libhandy-1-dev, it will be ok. apt install libhandy-1-dev
2021-07-07 09:42:41.958 8281-8281/****************** I/Glide: Root cause (6 of 8) java.lang.RuntimeException: setDataSourceCallback failed: status = 0x80000000 at android.media.MediaMetadataRetriever._setDataSource(Native Method) at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:223) at com.bumptech.glide.load.resource.bitmap.VideoDecoder$ByteBufferInitializer.initialize(VideoDecoder.java:324) at com.bumptech.glide.load.resource.bitmap.VideoDecoder$ByteBufferInitializer.initialize(VideoDecoder.java:318) at com.bumptech.glide.load.resource.bitmap.VideoDecoder.decode(VideoDecoder.java:173) at com.bumptech.glide.load.resource.bitmap.BitmapDrawableDecoder.decode(BitmapDrawableDecoder.java:58) at com.bumptech.glide.load.engine.DecodePath.decodeResourceWithList(DecodePath.java:92)...
Android 14适配的版本 看这里 https://github.com/neo-turak/LiveEventBus
给你们发布了修复的版本: https://github.com/neo-turak/LiveEventBus