运行Android通过USB应用服务的硬件设备,从Android的工作室 [英] Run Android apps on hardware device from Android Studio by USB

查看:154
本文介绍了运行Android通过USB应用服务的硬件设备,从Android的工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发的机器人工作室的应用程序,我可以在虚拟设备上运行他们成功地。但是运行在我自己的设备(三星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:

  1. 在AndroidManifest.xml中我已经添加的应用程序标记:机器人:可调试=真正的
  2. 安装从三星网站上的最新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.

这篇关于运行Android通过USB应用服务的硬件设备,从Android的工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆