Saturday, November 27, 2010

Android adb on 64-bit Mint

For some reason, I have to kill and restart the adb server as root in order to be able to use my Android device for development. Otherwise, adb devices displays

    List of devices attached
    ???????????? no permissions

So:
    sudo su
    adb kill-server
    adb start-server
    adb devices
which displays:
    HT849KV01850    device

Don't forget you also need a .rules file in /etc/udev/rules.d - details here. Then execute
    sudo udevadm control --reload-rules

Might be worth a read next time I'm fight with Eclipse and SVN...

http://www.damonkohler.com/2009/07/make-eclipse-ignore-svn-directories.html

Monday, November 22, 2010

Android Dev on 64 bit

Don't forget to...
    apt-get install ia32-libs
...on 64 bit Linux machines when setting up an Android environment

Adding to PATH in a clean Linux Mint install

I needed to add the android sdk tools directory to my path in a clean Mint install. There was no existing ~/.bashrc or ~/.bash_profile. I tried creating a ~/.bash_profile and adding the path but it didn't work, but I had more success when I created a ~/.bashrc.

This is the line I added:
   export PATH=${PATH}:/usr/local/android-sdk-linux_x86/tools

atp-get vs aptitide

Just been reading about the difference between apt-get and aptitude under Debian based linux. Apparently, they do very much the same job but aptitude handles dependencies much better.

If you see a package has been held back when running sudo apt-get upgrade, try sudo aptitude upgrade and the package will probably be installed.

Sunday, November 14, 2010

Free online cartoonizer

For those occasions where you need a cartoon version of yourself!

Many sites provide this via a downloadable exe, but that's no good on Linux. This is 100% online!

http://www.converttocartoon.com/