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? 

0

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.

1

I believe i need to make use of 

DeviceExplorerController.getProjectController

 

0

请先登录再写评论。