Error in flutter_face_api_beta Dependency: Unknown Kotlin JVM Target 21
/Users/pro/.pub-cache/hosted/pub.dev/camera_android_camerax-0.6.9+1/android/src/main/java/io/flutter/plugins/camerax/PreviewHostApiImpl.java:86: warning: [removal] onSurfaceCreated() in Callback has been deprecated and marked for removal
public void onSurfaceCreated() {
^
1 warning
In Flutter, is there any way to get the mobile number of the android device which is running the app?
In my flutter app, I want to implement one feature, that when the app will be open, it will initially print the mobile number(considering there is single or multiple SIM card in the device) of the Android device in which the app is running.
Could not find method dependencies() for arguments on object of type org.gradle.plugin.management.internal.DefaultPluginManagementSpec
Could not find method dependencies() for arguments [settings_cn0h89kgygs6v1tnoowf6zgq6$_run_closure1$_closure5@45f4580] on object of type org.gradle.plugin.management.internal.DefaultPluginManagementSpec.
error when building flutter app for android side
I am trying to build my app after some modification but I get error as shown below
Plugin [id: ‘kotlin-android’] was not found
I am getting this error when building the project in Flutter. I think it’s related to the Kotlin plugin not being found.