I managed to solve the issue by adding the namespace
to the android section in the plugin's android/build.gradle
, then i got the error
Launching lib/main.dart on SM N950F in debug mode...
2 ERROR:D8: com.android.tools.r8.kotlin.H
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
so, i set
compileSdk = 34
minSdk = 24
targetSdk = 33
and all errors were gone and my App ran normally