add code.org to intro and fix typo
[wiki.git] / android.mdwn
1 Random notes getting set up for Android dev on Ubuntu:
2
3 install equivalent of ia32-libs
4
5 sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
6
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
10 pdurbin@tabby:~$ 
11
12 http://stackoverflow.com/questions/13571145/android-adb-not-found
13
14 pdurbin@tabby:~$ 
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
17
18 pdurbin@tabby:~$ sudo apt-get install lib32stdc++6
19
20
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
26 pdurbin@tabby:~$ 
27
28 http://android.stackexchange.com/questions/61833/setting-up-hardware-accelerated-android-emulation-haxm-on-fedora-or-other-rpm
29
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
33
34
35 http://stackoverflow.com/questions/16168799/android-emulator-and-virtualbox-cannot-run-at-same-time
36
37 vagrant halt
38
39
40 pdurbin@tabby:~$ ~/Android/Sdk/platform-tools/adb devices
41 List of devices attached 
42 ????????????    no permissions
43
44 insufficient permissions for device
45
46 pdurbin@tabby:~$ cat /etc/udev/rules.d/51-android.rules
47 SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666", GROUP="plugdev" 
48
49 http://developer.android.com/tools/device.html
50