运行Android通过USB应用服务的硬件设备,从Android的工作室应用服务、工作室、硬件、设备

2023-09-05 06:02:37 作者:愿你常欢笑别皱眉别再想他

我正在开发的机器人工作室的应用程序,我可以在虚拟设备上运行他们成功地。但是运行在我自己的设备(三星S3 GT-I9300)的应用程序无法正常工作。

I am developing apps in Android Studio and I can run them in the virtual device succesfully. However running the apps on my own device (Samsung S3 GT-I9300) doesn't work.

href="http://developer.android.com/tools/device.html">http://developer.android.com/tools/device.html)我曾尝试这样的:

Based on the documentation of Google (http://developer.android.com/tools/device.html) I have tried this:

在AndroidManifest.xml中我已经添加的应用程序标记:机器人:可调试=真正的 安装从三星网站上的最新OEM驱动程序

在Android的工作室我在编辑配置目标设备转变为USB设备。但我不断地得到这个消息:

In the Android Studio I changed in the Edit Configurations the target device into USB device. But I constantly get this message:

等待设备。

USB设备没有发现

我也有来自三星Kies的安装软件,并用这个软件,我可以通过USB连接我的电话。我也曾尝试亚洲开发银行设备 \ SDK \平台工具,但没有设备列出。

I also have installed Kies software from Samsung and with this software I can connect my phone by USB. I have also tried adb devices in \sdk\platform-tools, but no devices are listed.

推荐答案

我已经解决了这个问题!我没有启用USB调试中的设置。

I have solved the problem! I didn't enable USB debugging in the settings.