Pandy's Blog

Pandy Song

Build developer tools on Android

Introduction

In Android development environment, source code is organized by modules. It is same for the tool binaries. Some tools are not build or installed by default, especially those for debug purpose.

AndroidDriverTools

The developer’s tools such as this one mentioned in below command are not with the usual SDK.

Here is the step to download and build on your build server:

cd ~/<your working directory>/
git clone https://github.com/MeekJeen/AndroidDriverTools.git
cd AndroidDriverTools/i2c-tools
source ../../../../build/envsetup.sh
mm

Then on your PC, install it to android device:


scp -r <server_name_or_ip>:<your_sdk_path>/out/target/product/rk3128_box/system/xbin ./
adb root
adb remount
adb push xbin/i2c* /system/xbin/