티스토리 뷰

Android/MAC에서 시작하기

Android Error 정리

썩소천사 2013. 9. 11. 20:23
반응형

Type error: No resource identifier found for attribute 'layout_marginbottom' in package 'android'

=> 오타로 인한 오류 layout_marginbottom -> layout_marginBottom 으로 수정



error: Error parsing XML: unbound prefix

=>xml구조 오류 오타 있는지 잘 확인해 볼 것.



The type GoogleMapActivity must implement the inherited abstract method MapActivity.isRouteDisplayed()
=> 에러가 발생한 빨간 물결 표시가 되있는곳에 커서를 옴길경우 하단에 노란색 메시지가 표시되며, "Add unimplemented methods"를 선택해 주면 매소드가 생성되며 해결됨.



R.java was modified manually! Reverting to generated version!
=> layout 폴더를 실수로 다른 폴더에 넣어서 생긴 문제 
=> 또는 Project->Clean... 선택 시 해결됨.

Caused by: java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.ImageView
=>리니어 레이아웃과 이미지뷰 순서만 바꿨을 뿐인데 오류 발생.
=> 또는 Project->Clean... 선택 시 해결됨.


Unparsed aapt error(s)! Check the console for output.
=> 리소스중 대문자 파일이 있어서 에러 발생.


반응형
댓글
반응형