0

When I try to connect my android device to my mac to test an app via firebase debugview I got this error.

Exception occurred while executing 'list': java.lang.SecurityException: Shell does not have permission to access user 150 com.android.server.am.ActivityManagerService.handleIncomingUser:14872 android.app.ActivityManager.handleIncomingUser:4802 com.android.server.pm.PackageManagerShellCommand.translateUserId:3499

When I use another android device it connects successfully. Does anyone know why it happens?

I follow the steps above to connect my phone to my mac: cmd -> cd desktop -> cd platform-tools-1 ->./adb devices -> (Check if the downloaded app and the package name in firebase are the same) ./adb shell pm list packages ./adb shell setprop debug.firebase.analytics.app <package_name> -> ./adb devices -> follow from the Firebase debugView.

0 Answers0