Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio file explorer not showing files in data folder

I am using android studio and 'samsung tab 2' as my testing device. I want to see the files of my application. So i clicked the 'Monitor' button. Then i selected my device from device list and selected my application package.There is a Data folder in file explorer. But when i clicked on the data folder it shows nothing.When i run this application using emulator the file explorer shows the data folder and i can see every files in my application. how can i see my files inside the data folder when using device ?

like image 882
Sebastian P Avatar asked Sep 07 '13 05:09

Sebastian P


1 Answers

I found a solution based on the answer in stack overflow . How to access data/data folder in Android device?

First i rooted the device .Then i modify the access permission of data folder using adb shell. the code is

$ adb shell
$ su
# mount -o rw
1|root@android:/ # chmod -R 777 data/ 

Now i can access the files.Thank you @param for your valuable comment.

like image 172
Sebastian P Avatar answered Sep 18 '22 21:09

Sebastian P