-
Notifications
You must be signed in to change notification settings - Fork 229
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
When trying to run the new version of rive on android, facing this issue while debugging:
e: file:///Users/harshsoni/.pub-cache/hosted/pub.dev/rive_native-0.1.1/android/src/main/kotlin/app/rive/rive_native/RiveNativePlugin.kt:116:1 Class 'RiveRenderTexture' is not abstract and does not implement abstract member:
fun onSurfaceDestroyed(): Unit
e: file:///Users/harshsoni/.pub-cache/hosted/pub.dev/rive_native-0.1.1/android/src/main/kotlin/app/rive/rive_native/RiveNativePlugin.kt:149:5 'onSurfaceCleanup' overrides nothing.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':rive_native:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
As per the docs, I did the following:
Flutter cleanFlutter pub cache cleanFlutter pub getdart run rive_native:setup --verbose --clean --platform android
but still I'm facing the same issue.
Flutter version:
Flutter 3.27.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision d8a9f9a52e (12 months ago) • 2025-01-31 16:07:18 -0500
Engine • revision 82bd5b7209
Tools • Dart 3.6.2 • DevTools 2.40.3
Rive version:
rive: 0.14.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working