Error: “app_name” is not translated in af

后端 未结 11 784
灰色年华
灰色年华 2021-01-30 16:21

I am new at Android coding and this forum. When I am trying to run the project to test it I am getting the following error:-

\"app_name\" is not translate

11条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-30 16:56

    For Android Studio you can use either of the below ways to solve this issue

    Method 1. Disable MissingTranslation check in build.gradle with

    android {
         lintOptions {
            disable 'MissingTranslation'
        }
    }
    

    Method 2. Ignore the MissingTranslation in you resource strings file with

    
    
    
      
    
    
    

    Method 3. Set translatable to false on specific string with

    hello
    

    You also can refer to Avoid Android Lint complains about not-translated string

提交回复
热议问题