1 Random notes getting set up for Android dev on Ubuntu:
3 install equivalent of ia32-libs
5 sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
7 pdurbin@tabby:~$ ~/Android/Sdk/platform-tools/adb
8 bash: /home/pdurbin/Android/Sdk/platform-tools/adb: No such file or directory
9 pdurbin@tabby:~$ ~/Android/Sdk/platform-tools/adb^C
12 http://stackoverflow.com/questions/13571145/android-adb-not-found
15 pdurbin@tabby:~$ ~/Android/Sdk/platform-tools/adb
16 /home/pdurbin/Android/Sdk/platform-tools/adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
18 pdurbin@tabby:~$ sudo apt-get install lib32stdc++6
21 pdurbin@tabby:~$ ~/Android/Sdk/tools/emulator64-x86 -avd Nexus_5_API_21_x86 -qemu -m 2047 -enable-kvm
22 emulator: ERROR: Could not load OpenGLES emulation library: lib64OpenglRender.so: cannot open shared object file: No such file or directory
23 emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
24 ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy
25 ko:failed to initialize KVM
28 http://android.stackexchange.com/questions/61833/setting-up-hardware-accelerated-android-emulation-haxm-on-fedora-or-other-rpm
30 pdurbin@tabby:~$ LD_LIBRARY_PATH=~/Android/Sdk/tools/lib ~/Android/Sdk/tools/emulator64-x86 -avd Nexus_5_API_21_x86 -qemu -m 2047 -enable-kvm
31 ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy
32 ko:failed to initialize KVM
35 http://stackoverflow.com/questions/16168799/android-emulator-and-virtualbox-cannot-run-at-same-time
40 pdurbin@tabby:~$ ~/Android/Sdk/platform-tools/adb devices
41 List of devices attached
42 ???????????? no permissions
44 insufficient permissions for device
46 pdurbin@tabby:~$ cat /etc/udev/rules.d/51-android.rules
47 SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666", GROUP="plugdev"
49 http://developer.android.com/tools/device.html