| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

Installing apk packages over USB with adb

Page history last edited by Will 9 years, 11 months ago

This tutorial assumes that you have the Android Hardware Development Environment ( http://www.liquidware.com/shop/show/BB-AND-HDE/Android+Hardware+Development+Environment ) installed.

 

Setting up ADB

 

For ADB over OTG USB, the Android gadget needs to be enabled. Once the
USB cable is plugged in between the Beagleboard and the Linux host,
the gadget will begin to operate. By default, the permissions of the
device that will be created on the Linux host will not allow a regular
user to access the device, so it is necessary to create a udev rules
file to set the permissions.

 

Create a file in /etc/udev/rules.d/51-android.rules to contain:

   SUBSYSTEMS=="usb",
ATTRS{idVendor}=="18d1",ATTRS{idProduct}=="0002",MODE="0666"

 

The values of idVendor and idProduct need to be changed to match your
device, you can figure this out by doing a "lsusb" on the Linux host.

 

Using ADB

$ cd ~/Eclipse/plugins/android-sdk-linux_86/tools/

$ ./adb

 

 

Installing APK File

 

$ ./adb install FILE_NAME.apk

 

 

 

Comments (0)

You don't have permission to comment on this page.