我想通过网络使用adb连接到安卓设备。我熟悉和,并遵循指导方针。具体而言,我做了以下工作:
# adb kill-server
# adb tcpip 5555
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
restarting in TCP mode port: 5555
# adb connect 192.168.1.101:5555
unable to connect to 192.168.1.101:5555:5555
由于上一个错误,我也尝试了
# adb co
从现在起,我已经开发了几款Android设备,但这款设备让我完全困惑。Windows中的亚行可以很好地检测设备,但我不能让亚行在Linux中识别这个设备(Ubuntu12.04)。
$ adb devices
List of devices attached
???????????? device
设备处于USB调试模式。
lsusb将其显示为Bus 003 Device 005: ID 18d1:0003 Google Inc.
/etc/udev/rules.d/51-android.rules文件有以下一行:SUBSYSTEM=="usb", ATTR
我的主机运行Ubuntu 12.04 64位。在主机上,adb工作正常。但在VM (Ubuntu12.04 32位/ VMWare工作站8.0.4)中,adb显示没有设备或设备脱机。以root身份启动adb无济于事。lsusb显示设备:
Bus 001 Device 004: ID 18d1:4e12 Google Inc. Nexus One (debug)
我正在尝试通过tcpip连接我的android设备,到目前为止,我的经验如下:
$ ./adb tcpip
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
restarting in TCP mode port: 67
$ ./adb connect 192.168.1.250:67
unable to connect to 192.168.1.250:67:67
$ ./adb connect 192.168.1.250
unable to connect to 19
我从终端执行cmd adb devices,但没有获得连接设备的列表,而是注意到以下错误:
List of devices attached
adb server version (32) doesn't match this client (36); killing...
* daemon started successfully *
如何获得连接设备的列表?
我已经为Android 2.2 api level 8更新了android sdk。在那之后,我试图通过adb shell安装apk,名为"adb install“,但它没有安装,并显示"adb server is out of date. . killing...”当我做"adb设备“时,它没有显示设备。为什么会这样呢。请让我知道。
谢谢,维沙卡。
我的android虚拟设备启动正常。但当它加载我的离子型应用程序时,它会说:“应用程序名称停止了”,“重新打开应用程序”,在打开该应用程序几次后,它说:“应用程序名一直停止关闭应用程序”。我的应用是基本标签离子应用。
离子甚至说发射成功..。
我试过不同的AVDs,但都没有用。这是我现在的数据。
我试过用ionic run android -c -1运行它,但它只说
emulator: Requested console port 5584: Inferring adb port 5585. emulator: Listening for console connections on