Cannot execute adb or fastboot

Development/Linux & Android 2013. 4. 3. 13:17


Even though you installed adt-bundle-sdk and jdk,
if you meet the below message after execution adb or fastboot on Ubuntu ,

bash: /home/user/android-sdk/sdk/platform-tools/adb: No such file or directory



You should install the below things,

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386


:

Upgrade ubuntu version to 12.04 precise

Development/Linux & Android 2013. 2. 1. 21:11

Ubuntu 10.04 to 12.04 or 11.10 to 12.04

 

자꾸 까먹는다... ;;

http://library.linode.com/upgrading/upgrade-to-ubuntu-12.04-precise

:

Create a random MAC address with python virtinst

Development/Linux & Android 2012. 12. 31. 11:01

python의 virtinst.util.randomMAC() 를 이용하여 임시 MAC adress를 생성할 수 있다.


먼저 libvirt를 설치,

$sudo apt-get install python-libvirt


python 명령어를 아래와 같이 수행

$python -c "import virtinst.util ; print virtinst.util.randomMAC()"


실행 중에 importerror 이 발생하면 관련된 package 를 설치해준다.

python-libvirt

virt-viwer

python-urlgrabber



Environment @ Ubuntu 12.04 LTS

:

dd 명령어의 진행상태 보기

Development/Linux & Android 2012. 12. 28. 16:32
Linux에서 DD 명령을 이용할 때 진행 상황이 궁금하다면 아래 명령어를 이용.
단, 우선적으로 pv 가 설치되어야 함.

$apt-get install pv
$dd if=/path/inputfile | pv | dd of=/path/outpufile





:

Network problem of virtual box in ubuntu 11.10

Development/Linux & Android 2012. 12. 21. 17:08

Environment : Ubuntu 11.10 , VirtualBox 4.2.6

Ubuntu에서 Windows7을 사용하기 위하여 설치하였으나 Network adapter가 정상적으로 동작하지 않음.


아래의 링크를 참조하여 해결함. 해당 command를 사용하기 전에 동작중이던 가상머신은 중지 시키고 사용할 것.

https://forums.virtualbox.org/viewtopic.php?f=15&t=51485


#VBoxManage modifyvm "VMNamexxx" --natdnshostresolver1 on





.


: