현재 Custom View를 만드려고 attrs.xml을 아래와 같이 작성했습니다.
그런데 R.java 파일이 생성되지 않았습니다....
============================== attrs.xml ===============================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="FooView">
<attr name="foo_location" format="enum">
<enum name="left" value="0" />
<enum name="top" value="1" />
<enum name="bottom" value="2" />
<enum name="right" value="3" />
</attr>
</declare-styleable>
</resources>
====================================================================
뭐가 문제일까 해서 하나씩 지우면서 해보았습니다.
그러다 아래와 같이 enum tag를 지우니 R.java 파일이 만들어 졌습니다...
============================== attrs.xml ===============================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="FooView">
<attr name="foo_location" format="enum">
</attr>
</declare-styleable>
</resources>
====================================================================
검색을 3시간동안 해도 나오지 않네요...
머리아파 죽겠습니다. ㅠ
혹시 해결 방법 아시는 분 있으신가요?




문제는 없어 보이는데요.. R.java가 만들어지지 않을 때 problems 에 보면 오류 내용이 나오는데
오류는 뭐라고 나오나요?