Skip to content

Android build failed with RNSkia >= 1.5.6 #55

Open

Description

@r0b0t3d

In gradle.properties

newArchEnabled=true

Then I got this error when building

image

Is there anyone can help with a solution for this one? Thanks

Activity

  1. thecynicalpaul commented on Oct 22, 2024

    @thecynicalpaul

    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.

  2. changed the title [-]Android build failed with newArchEnabled=true[/-] [+]Android build failed with RNSkia >= 1.5.6[/+] on Jan 22, 2025
  3. hannojg commented on Jan 22, 2025

    @hannojg
    Member

    Using this as a collection issue for all build related issues, working on a fix!

  4. dougg0k commented on Jun 18, 2025

    @dougg0k

    Any progress on this? @hannojg


    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
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions