"ls:datadata: permission denied " facing this issue with android studio in file explorer - Stack Overflow

I am facing an issue in Android Studio,when I connect my physical device to Android Studio and try to

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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744788504a4593772.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信