How to get running adb device in Android project

I want to be able to get the device id of the Android project that is being run/debugged. How can I go about doing this in the plugin

I tried the code from https://github.com/pbreault/adb-idea/blob/master/src/com/developerphil/adbidea/adb/AdbFacade.java but I get package not found errors for

org.jetbrains.android.facet.AndroidFacet and org.jetbrains.android.util.AndroidUtils. I tried downloading source code from http://android.googlesource.com/platform/tools/adt/idea/  and adding to classpath but no luck.


Any help will be appreciated,


_nedR


Please sign in to leave a comment.