-1

I'm using an Android Emulator to develop app on Visual Studio 2019. I want to access files created by my app. I use the File Explorer on Android Device Monitor, but it shows I have no permission to access the 'user' folder. So I try to change the permission by using adb command, adb root, but it returned nothing.

Device's information
enter image description here

File and folder permission
enter image description here

The results
enter image description here

As you see, I need to check the files in user folder, but adb root seems do nothing without error.

eko
  • 43
  • 9

1 Answers1

-1

After I updated the Command-line tools from 1.0 to 2.1, it showed the error, adbd cannot run as root in production builds after ran adb root. Refer to ADB root is not working on emulator (cannot run as root in production builds), I created another device using the setting below. And finally adb root worked. I still don't understand the reason. I suppose the Google Play Store has some kind of protection mechanism?
enter image description here

Nimantha
  • 6,405
  • 6
  • 28
  • 69
eko
  • 43
  • 9