Android的工作室和外部设备工作室、设备、Android

2023-09-07 08:35:31 作者:最想遗忘的想念

是否有可能效仿与机器人工作室的外部设备的应用程序?我有连接到计算机的设备,但是当你运行应用程序不能识别该设备。

Is it possible to emulate an app with an external device in android studio? I have a device connected to the computer, but when you run the app it does not recognize the device.

注:模式和调试模式接受来历不明的激活

Note: The mode and debugging mode to accept unknown sources are activated.

推荐答案

转到您的模块的运行配置,并更改:

Go to the run configuration of your module and change that:

在那里,你可以选择天气要启动它在仿真器,设备或者的IntelliJ应该问你的每一次当你运行它:

There you can choose weather you want to launch it in an emulator, device or if IntelliJ should ask you every time when you run it: