IT/Android

[Android Studio] is translated here but not found in default locale 오류가 났어요

jaewon_sss 2023. 6. 4. 15:11
반응형

안녕하세요 

모바일 안드로이드 개발을 하다보면

strings.xml 파일에 다국어 모드를 위해 하드코딩하지 않고 따로 string 값들을 저장하고 관리하는데요

값을 추가했을때,  "   "  is translated here but not found in default locale 오류가 나는 경우가 생겼어요

 

 

해결 방법은 2가지입니다.

 

1.  노란색 전구 말 듣기

<resources>

아래로 변경

<resources

    xmlns:tools="http://schemas.android.com/tools"

    tools:ignore="MissingTranslation">

 

 

 

2. Clean project 하기

저의 경우, 어이없게도 Clean project 하니까 되네요

 

 

억울해

뭔가 대단한게 있을 줄 알았어

 

반응형