Ошибка при запуске приложения Flutter в Android-эмуляторе API-уровня 29 (пирог) - PullRequest
0 голосов
/ 30 июня 2019

Я запустил приложение Flutter на Android Emplator API Level 29 (пирог) тогда это дает некоторые ошибки !!!

Трассировка стека:

Security exception: Permission Denial: forceStopPackage() from pid=31519, uid=2000 requires android.permission.FORCE_STOP_PACKAGES

java.lang.SecurityException: Permission Denial: forceStopPackage() from pid=31519, uid=2000 requires android.permission.FORCE_STOP_PACKAGES
    at com.android.server.am.ActivityManagerService.forceStopPackage(ActivityManagerService.java:8748)
    at com.android.server.am.ActivityManagerShellCommand.runForceStop(ActivityManagerShellCommand.java:967)
    at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:197)
    at android.os.ShellCommand.exec(ShellCommand.java:103)
    at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:20320)
    at android.os.Binder.shellCommand(Binder.java:642)
    at android.os.Binder.onTransact(Binder.java:540)
    at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:3442)
    at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:4181)
    at android.os.Binder.execTransact(Binder.java:739)
Installing build\app\outputs\apk\app.apk...
Error: ADB exited with exit code 1
Performing Streamed Install

adb: failed to install G:\flutter_project\f_project\foodyhouse\build\app\outputs\apk\app.apk: Security exception: Permission Denial: runInstallCreate from pm command asks to run as user -1 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL

java.lang.SecurityException: Permission Denial: runInstallCreate from pm command asks to run as user -1 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
    at com.android.server.am.UserController.handleIncomingUser(UserController.java:1827)
    at com.android.server.am.ActivityManagerService.
Error launching application on SM J730F.
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...