You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think this is currently compatible with the new arch. This is also quite behind the mainline Skia lib. Your best bet is to use lottie-react-native in the meantime.
I fixed another issue before this one appeared with latest versions. #70
These were the errors.
* What went wrong:
Execution failed for task ':react-native-skottie:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler output below.
/some_app/node_modules/react-native-skottie/android/src/main/java/com/skiaskottie/SkiaSkottieView.java:12: error: SkiaSkottieView is not abstract and does not override abstract method surfaceSizeChanged(Object,int,int,boolean) in SkiaBaseView
public class SkiaSkottieView extends SkiaBaseView {
^
/some_app/node_modules/react-native-skottie/android/src/newarch/SkiaSkottieSpec.java:5: error: cannot find symbol
abstract class SkiaSkottieSpec extends NativeSkiaSkottieSpec {
^
symbol: class NativeSkiaSkottieSpec
2 errors
Activity
thecynicalpaul commentedon Oct 22, 2024
I don't think this is currently compatible with the new arch. This is also quite behind the mainline Skia lib. Your best bet is to use lottie-react-native in the meantime.
"react-native-skottie": "^2.1.4",#63 as a duplicate of this issue[-]Android build failed with newArchEnabled=true[/-][+]Android build failed with RNSkia >= 1.5.6[/+]hannojg commentedon Jan 22, 2025
Using this as a collection issue for all build related issues, working on a fix!
dougg0k commentedon Jun 18, 2025
Any progress on this? @hannojg
I fixed another issue before this one appeared with latest versions. #70
These were the errors.