List All Files Opened By My Android App
I am intermittently getting Too many open files exceptions when I try to write to a text file in my Xamarin / Android app. I understand that this is because each Android app has a
Solution 1:
You could use the Unix lsof command in the ADB shell.
1) Start the shell:
$ adb shell
2) Find the process ID of your app:
shell@android:/ $ ps | grep <packagename>
3) List files opened by your app:
shell@android:/ $ lsof <pid>
Post a Comment for "List All Files Opened By My Android App"