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 ?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With