Android Development

From sheep
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The Android debug bridge adb command is a 32bit binary requiring curses not so useful on a 64bit install

dpkg --add-architecture i386
apt-get install libncurses5:i386
ln -s ln -s /usr/lib/i386-linux-gnu/libGL.so.1 ln -s /usr/lib/i386-linux-gnu/libGL.so

Then you need to add it to your path you also need the libGL:

export LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/:/lib/i386-linux-gnu/

Physical phone

To connect to a physical phone create the file /etc/udev/rules.d/51-android.rules Get the vendorId from lsusb command or the [| list at the android site]

SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666", GROUP="plugdev" 

Set the permissions:

chmod a+r /etc/udev/rules.d/51-android.rules