我整晚都在搜索,但找不到让 IntelliJ 通过 USB 调试将我的 android 应用程序部署到我的设备的方法。除了虚拟设备之外,我看不到任何用于指定目标的选项。
我安装了设备驱动程序,并且所有更新都适用于 IntelliJ X 和 SDK。
有可能吗?还是仅适用于 eclipse ?
最佳答案
是的,这是可能的 - 只需在运行/调试配置中指定不使用虚拟设备,IJ 就会提示您在哪里运行该应用程序。如果设备已连接,它将被列出,您可以选择它。
这在 OS X 上运行良好。
On windows you may need to install the driver. Download through the SDK manager Extras-> Google USB driver. Then go to your SDK\Extras\Google\USB_driver\ folder, right-click on android_winusb.inf and choose Install.
关于android - 我可以让 IntelliJ 通过设备而不是模拟器调试我的 android 应用程序吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4973736/