Think Different

[TextView] android.content.res.Resources$NotFoundException 본문

OS/Android

[TextView] android.content.res.Resources$NotFoundException

TENNESSEE 2014. 9. 16. 18:03

Problem

안드로이드를 개발 시, 특정 값을 TextView객체에 표현할 데이터를 설정한 부분에


textView.setText(viewData);


아래와 같은 오류가 발생.


android.content.res.Resources$NotFoundException


Solution

  • viewData가 문자열 값인지 확인한다.


Reference

  • -