Open main menu

DAVE Developer's Wiki β

Changes

Dacu

1,074 bytes added, 15:54, 26 July 2012
"Normal" mode
You can now access the system using adb.
 
 
==== Running the Android Debug Bridge (ADB) ====
 
[http://developer.android.com/tools/help/adb.html ADB] is a fundamental development tool and enables remote access to the Android device. ADB is provided with the Android SDK, so before using it you must install the SDK.
 
To establish the ADB connection, on the host machine launch the following commands:
 
<pre class="workstation-terminal">
$ export PATH=${PATH}:<your_sdk_dir>/platform-tools
$ export ADBHOST=<target's ip address>
$ adb kill-server
$ adb start-server
</pre>
 
To check the connection, please launch
 
<pre class="workstation-terminal">
$ adb devices
</pre>
 
If everything is working properly, you should see the following messages:
 
<pre class="workstation-terminal">
$ adb devices
List of devices attached
emulator-5554 device
</pre>
 
You can open a remote shell using the following command:
 
<pre class="workstation-terminal">
$ adb shell
</pre>
 
To install an application (in .apk format), you can use the following commmand:
 
<pre class="workstation-terminal">
$ adb install <path to apk>
</pre>