kkuzil.own@gmail.com

Posted
Filed under Development/Java & Android
코딩 중에 layout관련해서 수정중이거나 스트링 리소스를 수정이었으면
*.xml 로 포커스가 가있을 것이다. 이때, Ctrl+F11을 하면..

http://sunkj81.cafe24.com/textcube/entry/Android-mainoutxml-%EB%98%90%EB%8A%94-stringoutxml-%EC%83%9D%EC%84%B1%EB%90%98%EB%A9%B4%EC%84%9C-%EC%BB%B4%ED%8C%8C%EC%9D%BC-%EC%8B%A4%ED%96%89-%EC%95%88%EB%90%A0%EB%95%8C?category=8 


이런 형태의 오류가 나오면 골치 아퍼지는데
이클립스에서 아래와 같이 설정해 주면 코드 포커스가 *.xml 에 가있어도 잘 된단다.

1. [메뉴]-[Windows]-[Preferences] 클릭
2. Run/Debug > Launching 에서 밑에 있는 "Launch Operation"에서 "Always launch the previously launched application" 에 라디오 체크
3. Run/Debug > Launching > Launch Configurations 에서 "Filter checked launch configurations types" 체크
4. 아래 리스트에서 "XSL" 체크
5. [OK] 또는 [Apply] 버튼 클릭
6. 끝
2012/04/11 19:10 2012/04/11 19:10