Description
Hi, recently (likely related to Flutter upgrade), I cannot build rive for Android. I've tried versions:
0.14.0-dev.14
and
0.14.0-dev.13
The build fails with the error:
e: file:///Users/petrkubes/.pub-cache/hosted/pub.dev/rive_native-0.0.17/android/src/main/kotlin/app/rive/rive_native/RiveNativePlugin.kt:12:10 Conflicting overloads:
fun createRiveRenderer(surface: Surface, width: Int, height: Int): Long
e: file:///Users/petrkubes/.pub-cache/hosted/pub.dev/rive_native-0.0.17/android/src/main/kotlin/app/rive/rive_native/RiveNativePlugin.kt:18:10 Conflicting overloads:
fun destroyRiveRenderer(renderer: Long): Unit
e: file:///Users/petrkubes/.pub-cache/hosted/pub.dev/rive_native-0.0.17/android/src/main/kotlin/app/rive/rive_native/RiveNativePlugin.kt:19:10 Conflicting overloads:
fun markDestroyedRiveRenderer(renderer: Long): Unit
e: file:///Users/petrkubes/.pub-cache/hosted/pub.dev/rive_native-0.0.17/android/src/main/kotlin/app/rive/rive_native/RiveNativePlugin.kt:133:13 Overload resolution ambiguity between candidates:
fun createRiveRenderer(surface: Surface, width: Int, height: Int): Long
fun createRiveRenderer(surface: Surface, width: Int, height: Int): Long
e: file:///Users/petrkubes/.pub-cache/hosted/pub.dev/rive_native-0.0.17/android/src/main/kotlin/app/rive/rive_native/RiveNativePlugin.kt:157:17 Overload resolution ambiguity between candidates:
fun markDestroyedRiveRenderer(renderer: Long): Unit
fun markDestroyedRiveRenderer(renderer: Long): Unit
e: file:///Users/petrkubes/.pub-cache/hosted/pub.dev/rive_native-0.0.17/android/src/main/kotlin/app/rive/rive_native/RiveNativePlugin.kt:165:17 Overload resolution ambiguity between candidates:
fun destroyRiveRenderer(renderer: Long): Unit
fun destroyRiveRenderer(renderer: Long): Unit
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':rive_native:compileReleaseKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
Flutter (Channel stable, 3.38.1, on macOS 15.6.1 24G90 darwin-arm64, locale en-US) [256ms]
Framework revision b45fa18946 (3 weeks ago), 2025-11-12 22:09:06 -0600
Engine revision b5990e5ccc
Dart version 3.10.0
DevTools version 2.51.1
Any ideas on what am I doing wrong?
Description
Hi, recently (likely related to Flutter upgrade), I cannot build rive for Android. I've tried versions:
0.14.0-dev.14
and
0.14.0-dev.13
The build fails with the error:
Any ideas on what am I doing wrong?