android-studioandroid-emulatorrootddms

Android Studio DDMS can't open /data folder in an emulator phone


I recently created an Emulator device with Android Studio,but only to find that I can't open the /data/data folder to get the sqlite db file.The folder just can't open,I have tried to use shell scirpt to chmod the /data directory,but it says the su command not found.

The Emulator

Can't open!

Is there anyone has the same problem? Or I have to root the Emulator? But it's an Emulator! I just think it's kind of inconvenient to root a Emulator!


Solution

  • open DDMS with administrator previlledges. Had same issue and it solved it. Fastest means to doing this is opening android studio with administrator previledges and opening DDMS from there.

    otherwise, have a look at this link Android device monitor