2015년 10월 27일 화요일

[ubuntu] 루트 시스템 폴더가 꽉 찾을 때 해결

((터미널에서 df -h를 입력하면 디스크 사용 용량을 확인할 수 있다.))

/var/log 폴더를 삭제하거나
sudo apt-get autoremove & sudo apt-get clean를 해봐도 딱히 용량이 줄지 않는다.

오래된 커널들을 지우면 용량을 확보 할 수 있다.

dpkg -l linux-* | awk '/^ii/{ print $2 }' | grep -e [0-9]
를 입력하면

커널 리스트가 보인다.

아래와 같이 입력하여 오래된 커널들을 지워준다.
sudo apt-get -y purge linux-headers-3.13.0-35 linux-headers-3.13.0-35-generic linux-image-3.13.0-35-generic linux-image-extra-3.13.0-35-generic


참고 (http://ubuntuforums.org/showthread.php?t=2240697)

2015년 10월 14일 수요일

[android studio] aidl 오류

안드로이드 스튜디오에서 aidl 파일 작성 후

Android Studio: execution failed for task : app:compileDebugAidl 에러 발생시

File > Settings > Build,Execution,Deployment > Build Tools > gradle

check Use default gradle wrappper(recommended)