본문 바로가기
C++ 200제/코딩 IT 정보

No operations to display at this time, eclipse, android 해결법 (Graphical Layout)

by vicddory 2018. 2. 13.

No operations to display at this time, eclipse, android 해결법 (Graphical Layout)


Graphical Layout에서 미리 보기가 잘 안되는 경우엔 대부분 아래와 같은 에러 메시지를 내뿜습니다.


No operations to display at this time.

No XML content. Please add a root view or layout to your document.


XML이 서로 맞물려 있는 Main Activity의 경우.

Failed to parse.......xml


여러가지 해결방법이 존재하는데 모든 방법이 나에게 맞는 건 아닙니다. 아래는 제가 해결했던 방법입니다.


- 해결 방법


1. 해당 프로젝트 우클릭 - Close Project를 선택한 뒤, Open Project 선택.

2. Package Explorer에서 XML 파일 우클릭 - open with - Android Layout Editor 선택.

3. ADT 플러그인 업데이트 : Help - Check for Update.


4. 공통 사항(주의할 점)

4-1. 어떤 짓으로든 해결되지 않을 시엔 반드시 지켜야 할 기본 사항이 제대로 설정되어 있나 확인.

4-2. File Associations에서 *.XML을 디폴트로 설정해야 함.


No operations to display at this time, eclipse, android[No operations to display at this time]


반드시, 사용 중인 안드로이드 버전을 Graphical Layout에서도 맞춰줍니다.


실제로 맞춰주지 않아도 동작하는 경우가 있으나, 언젠간 에러를 내뿜을 겁니다.


Graphical Layout 안드로이드[No operations to display at this time]


대게, 이 정도만 맞춰준다면 무리 없이 Graphical Layout을 정상적으로 사용할 수 있습니다.


그리고... XML의 uft-8을 UTF-8로 바꿔보세요.


No operations to display at this time, eclipse, android 해결법 (Graphical Layout)

댓글