Android toolchain - develop for Android devices (Android SDK version 30.0.3)
X Android license statusRun `flutter doctor --android-licenses` to accept the SDK licenses.See https://flutter.dev/docs/get-started/install/wind
我正在用Android6开发一个安卓应用程序,服务中的应用程序需要获取设备ID(getDeviceId)。我在清单文件中设置了android.permission.READ_PHONE_STATE,但在运行时收到以下错误:
neither user 10632 nor current process hasandroid.permission.READ_PHONE_STATE. java.lang.SecurityException:getDeviceId need android.permission.Read_Phon