亚洲开发银行通过网络,而previous USB配对 [英] Adb over network without previous USB pairing

查看:203
本文介绍了亚洲开发银行通过网络,而previous USB配对的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是Android 4.2.2,要求亚行连接,以匹配批准的指纹。

I have an android 4.2.2 that requires the ADB connection to match an approved fingerprint.

的问题是,该装置需要使用USB电缆首次这在我的情况将是一个问题进行配对。

The problem is that the device need to be paired using a USB cable the first time which in my situation will be a problem.

我的开发环境是运行在VirtualBox和我有previously放弃试图让USB工作,而不是使用亚洲开发银行在网络上。

My development environment is running in VirtualBox and I have previously given up trying to get USB to work and instead used the ADB over the network.

Android的SDK平台工具是最新的1601。

The Android SDK Platform-tools is the latest 1601.

有没有办法对我来说,手动添加的虚拟机的关键,我的设备?

Is there any way for me to manually add the key from the virtual machine to my device?

我有我的主机和root访问我的设备工作的Andr​​oid SDK是否可以用来解决这个问题。

I have a working Android SDK on my host and root access to my device if that can be used to fix this.

推荐答案

这个解决方案需要根的设备上。

This solution requires root on the device.

从开发机,复制从单行 $ HOME / .android / adbkey.pub

From the development machine, copy the single line from $HOME/.android/adbkey.pub.

QAAAAJk..................QA= @myhost

和其附加到 /数据/其它/ 在Android设备上的adb / adb_keys。 adb_keys每行包含一个关键,所以如果你previously配对任何其他机器,他们将在这里显示出来。

And append it to /data/misc/adb/adb_keys on your android device. adb_keys contain one key per line so if you previously have paired any other machines they will show up here.

重启设备。

这篇关于亚洲开发银行通过网络,而previous USB配对的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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