admin管理员组

文章数量:1404357

I am facing an issue in Android Studio, when I connect my physical device to Android Studio and try to access the file explorer window in Android Studio, it is giving error as "ls: data/data/: permission denied "

screenshot attached for reference,

Does anyone know how to fix this issue?

I am facing an issue in Android Studio, when I connect my physical device to Android Studio and try to access the file explorer window in Android Studio, it is giving error as "ls: data/data/: permission denied "

screenshot attached for reference,

Does anyone know how to fix this issue?

Share Improve this question asked Mar 11 at 14:27 ShreeShree 7958 silver badges23 bronze badges 3
  • Which Android Studio version do you use? Via adb you neve have read access to /data/data thus the error may be misleading. The list of installed apps (thus subdirectories of /data/data) is AFAIK generated using Android package manager nut using ls. – Robert Commented Mar 12 at 14:04
  • I am using Android Studio Koala Feature Drop | 2024.1.2 Patch 1 I also tried the Android Studio Ladybug Feature Drop | 2024.2.2 (January 2025) I am facing the same issue with both versions. – Shree Commented Mar 12 at 14:13
  • You can try to manually execute the adb commands used by Android Studio internally and see what you get. medium/@liwp.stephen/… Especially the section List packages -> physical device should be of interest. – Robert Commented Mar 12 at 14:20
Add a comment  | 

1 Answer 1

Reset to default 0

Run your project

Click on Turn On Package filters

Go Files Tabs, find and open your project

Back Preocesses Tab

That worked for me

本文标签: quotlsdatadata permission denied quot facing this issue with android studio in file explorerStack Overflow