Closed fourlastor closed 3 years ago
Hi @fourlastor , Check out v1.3.0
Hi! Thank you :) I'm going to have enough data on whether this fixed the initial bug or not in a couple weeks, I'll keep you posted!
Hi @Aghajari!
I'm getting a new crash with 1.3.1
:
Caused by java.lang.UnsatisfiedLinkError: No implementation found for long com.aghajari.rlottie.AXrLottieNative.createWithJson(java.lang.String, java.lang.String, int[]) (tried Java_com_aghajari_rlottie_AXrLottieNative_createWithJson and Java_com_aghajari_rlottie_AXrLottieNative_createWithJson__Ljava_lang_String_2Ljava_lang_String_2_3I)
at com.aghajari.rlottie.AXrLottieNative.createWithJson(AXrLottieNative.java)
at com.aghajari.rlottie.AXrLottieDrawable.initFromJson(AXrLottieDrawable.java:491)
at com.aghajari.rlottie.AXrLottieDrawable.<init>(AXrLottieDrawable.java:441)
at com.aghajari.rlottie.AXrLottieDrawable$Builder.build(AXrLottieDrawable.java:1332)
It looks like it's not managing to load the library at runtime, but it doesn't crash, so it crashes whenever I use the animation view. Maybe something similar to Rive's approach might work?
Another approach I found looking things up is relinker
Hello, I'm seeing a crash (from analytics, I haven't been able to reproduce it myself yet) when initializing an
AXrLottieDrawable
:After a bit of investigation, this seems to happen at this line of
DispatchQueue
.I think the source of the NPE could be in the
try/catch
statement a few lines before, my guess is thatsyncLatch.await();
throws anInterruptedException
before being released, which would lead tohandler
being null.