도전2022

안드로이드 문자열을 사용하다가 Multiple substitutions specified in non-positional format; did you mean to add the formatt ... 에러 발생시 본문

작업/work2013

안드로이드 문자열을 사용하다가 Multiple substitutions specified in non-positional format; did you mean to add the formatt ... 에러 발생시

hotdigi 2013. 12. 23. 14:52

Description Resource Path Location Type

error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute? strings.xml line 525 Android AAPT Problem


이런 식으로 에러가 발생하는 경우가 있다. 




%기호가 있는지를 확인해보라. 


%%를 이용해서 문자열에서 %가 표시될 수 있도록 변경하여 해결 하여라. 

~





다음과 같이 xml 파일을 수정하면 %를 표현 할 수 있다. 



해결 방법

<string name="result0303" formatted="false">




'작업 > work2013' 카테고리의 다른 글

min3d  (0) 2013.11.29
MainView.java opengles android  (0) 2013.11.29
차 크기 비교  (0) 2013.11.25
skt 착신전화  (0) 2013.11.04
Vector CANoe 문서  (0) 2013.08.21