How do i access device explorer files while writing plugin for Android Studio?


I am writing a plugin which needs to find a specific file stored in android device (which shows up in device explorer pane in right in AS). 
How should i access those file? 

Comment actions Permalink

I believe i need to make use of 



Comment actions Permalink

Hi Riteshdvps10

For which version of Android Studio are you building the plugin for?

Please take a look at class AdbDeviceFileSystemService and how it is using the AdbDeviceFileSystem class. AdbDeviceFileSystem class should provide the all APIs you need to access the files on the connected device.

This solution depends on Android Studio version Electric Eel Beta 4.


Please sign in to leave a comment.