PS D:\first_app\flutter_application_1> flutter run
Launching lib\main.dart on M2102J20SG in debug mode...
Running Gradle task 'assembleDebug'... 9.8s
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app-debug.apk... 8.1s
Error: ADB exited with exit code 1
Performing Streamed Install
adb: failed to install D:\first_app\flutter_application_1\build\app\outputs\flutter-apk\app-debug.apk: Failure
[INSTALL_FAILED_USER_RESTRICTED: Install canceled by user]
Error launching application on M2102J20SG.
i just dont know please tell me how to fix it.
Turn off "MIUI optimization" and Restart
Turn On "USB Debugging"
Turn On "Install via USB"