Please export ANDROID_SWT to point to the folder containing swt.jar for your platform

안드로이드 SDK에서 android 파일을 실행했을 때 다음과 같은 에러가 출력되었다.

Please export ANDROID_SWT to point to the folder containing swt.jar for your platform.

ANDROID_SWT 디렉토리를 export 해주지 않아 생기는 문제이다.

$ vim ~/.bashrc

마지막 위치에 다음 라인을 추가해준다.

export ANDROID_SWT=/home/warnus/android/sdk/android-sdk-linux_x86/tools/lib/x86

$ source ~/.bashrc

Leave a Reply