openstf adb

ADB Keys

By providing to STF your Public ADB Key, you will be able to use the any device at any time from adb connect, even without needing to open STF at all.

This is very useful for automation tasks (like running functional tests over multiple Android devices).

Before starting

To be able to use the device locally you need to have installed the Android SDK Tools.

Step 1: Check your ADB Key

ls ~/.android/adbkey.pub

It should list your Public ADB Key.

Note: If you have never runned adb on your computer, you may not have a .android directory. It will be created when you run any ADB command like adb devices.

Step 2: Copy your ADB Key to the clipboard

Run this command to copy the key to your clipboard:

pbcopy < ~/.android/adbkey.pub

It should copy the contents of the adbkey.pub file to your clipboard.

Note: You can also use your text editor, by opening the ~/.android/adbkey.pub file and copying the contents of the file.

Step 3: Add your ADB Key to STF

Now that the key is in the clipboard, add it into STF:

  1. Go to Settings.
  2. Click the Keys tab.
  3. In ADB Keys, Press the + (Add) button.
  4. In Key, paste the key and press Enter.

Now you should be able to use any device more freely in STF.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值