'Android'에 해당되는 글 1건

  1. 2012.05.10 R.cannot be resolved to a variable

1) 이클립스 프로젝트에 X 가 표시되고, 소스에 이상이 없을 때

또는

2) R.cannot be resolved to a variable

다른 사람이 작성한 소스를 import 해서 가져왔을 때 위와 같은 에러가 난다면  build 할 target 을 빠뜨리지 않았는지 점검한다.

즉 Project -> Properties -> Android -> Android2.3.3 -> OK 를 확인한다.

(출처는 http://www.androidpub.com/167296)