Lint Report: 104 errors
Issue Types

Overview

Correctness:Messages
87error MissingTranslation: Incomplete translation
16error ExtraTranslation: Extra translation
Security
1error HardcodedDebugMode: Hardcoded value of android:debuggable in the manifest
Disabled Checks (250)

Incomplete translation

../../src/main/res/values/strings.xml:6: "ok" is not translated in "ar" (Arabic), "bn-IN" (Bengali: India), "mr" (Marathi), "te" (Telugu), "wa" (Walloon)
   3 
   4     <!-- Main VLC Interface -->
   5     <string name="app_name" translatable="false">VLC</string>
   6     <string name="ok">OK</string>                                                                   
   7     <string name="cancel">Cancel</string>
   8     <string name="other">Other</string>
   9     <string name="filebrowser_title">Select media to play</string>
../../src/main/res/values/strings.xml:7: "cancel" is not translated in "ar" (Arabic), "bn-IN" (Bengali: India), "mr" (Marathi), "te" (Telugu), "wa" (Walloon)
   4     <!-- Main VLC Interface -->
   5     <string name="app_name" translatable="false">VLC</string>
   6     <string name="ok">OK</string>
   7     <string name="cancel">Cancel</string>                                                           
   8     <string name="other">Other</string>
   9     <string name="filebrowser_title">Select media to play</string>
  10     <string name="sortby">Sort by…</string>
../../src/main/res/values/strings.xml:8: "other" is not translated in "ar" (Arabic), "bn-IN" (Bengali: India), "mr" (Marathi), "te" (Telugu), "wa" (Walloon)
   5     <string name="app_name" translatable="false">VLC</string>
   6     <string name="ok">OK</string>
   7     <string name="cancel">Cancel</string>
   8     <string name="other">Other</string>                                                             
   9     <string name="filebrowser_title">Select media to play</string>
  10     <string name="sortby">Sort by…</string>
  11     <string name="sortby_name">Name</string>
../../src/main/res/values/strings.xml:22: "play_from_start" is not translated in "ar" (Arabic), "bn-IN" (Bengali: India), "mr" (Marathi), "te" (Telugu), "wa" (Walloon)
  19     </plurals>
  20 
  21     <string name="play">Play</string>
  22     <string name="play_from_start">Play from start</string>                                         
  23     <string name="play_as_audio">Play as audio</string>
  24     <string name="play_as_video">Play as video</string>
  25     <string name="append">Append</string>
../../src/main/res/values/strings.xml:23: "play_as_audio" is not translated in "te" (Telugu)
  20 
  21     <string name="play">Play</string>
  22     <string name="play_from_start">Play from start</string>
  23     <string name="play_as_audio">Play as audio</string>                                             
  24     <string name="play_as_video">Play as video</string>
  25     <string name="append">Append</string>
  26     <string name="play_all">Play all</string>
MissingTranslation Messages Correctness Fatal Priority 8/10

Extra translation

../../src/main/res/values-ar/strings.xml:5: "filebrowser_sdfail" is translated here but not found in default locale
   2 <resources>
   3 
   4     <!-- Main VLC Interface -->
   5     <string name="filebrowser_sdfail">غير قادر على فتح بطاقة الذاكره الخارجيه.يرجى فحصه انه ملصوق بشكل صحيح</string>
   6     <string name="filebrowser_root">الجذر</string>
   7     <string name="filebrowser_title">إختر الوسائط للتشغيل</string>
   8     <string name="ml_no_media_dir">لايوجود دليل للوسائط</string>
    ../../src/main/res/values-bn-rIN/strings.xml:4: Also translated here
       1 <?xml version="1.0" encoding="utf-8"?>
       2 <resources>
       3     <!--Main VLC Interface-->
       4     <string name="filebrowser_sdfail">SD কার্ড খুলতে অক্ষম। দয়া করে পরীক্ষা এইটি সঠিকভাবে মাউন্ট করা হয়।</string>
       5     <string name="filebrowser_root">মূল</string>
       6     <string name="filebrowser_title"> মিডিয়া চালাতে নির্বাচন করুন</string>
       7     <string name="ml_no_media_dir">কোনও মিডিয়া ডিরেক্টরী না</string>
    ../../src/main/res/values-mr/strings.xml:4: Also translated here
       1 <?xml version="1.0" encoding="utf-8"?>
       2 <resources>
       3     <!--Main VLC Interface-->
       4     <string name="filebrowser_sdfail">SD कार्ड उघडू शकत नाही. ते योग्यरीत्या बसले आहे याची खात्री करा.</string>
       5     <string name="filebrowser_root">रूट</string>
       6     <string name="filebrowser_parent">..</string>
       7     <string name="filebrowser_title">प्ले करण्यासाठी मेडिया निवडा</string>
    ../../src/main/res/values-pt-rBR/strings.xml:5: Also translated here
       2 <resources>
       3 
       4     <!-- Main VLC Interface -->
       5     <string name="filebrowser_sdfail">Não foi possível acessar o cartão SD. Por favor, verifique se ele está montado.</string>
       6     <string name="filebrowser_root">Raiz</string>
       7     <string name="filebrowser_title">Selecione uma mídia para reproduzir</string>
       8     <string name="ml_no_media_dir">Pasta sem mídias</string>
    ../../src/main/res/values-te/strings.xml:4: Also translated here
    ../../src/main/res/values-wa/strings.xml:4: Also translated here
../../src/main/res/values-mr/strings.xml:6: "filebrowser_parent" is translated here but not found in default locale
   3   <!--Main VLC Interface-->
   4   <string name="filebrowser_sdfail">SD कार्ड उघडू शकत नाही. ते योग्यरीत्या बसले आहे याची खात्री करा.</string>
   5   <string name="filebrowser_root">रूट</string>
   6   <string name="filebrowser_parent">..</string>                                                   
   7   <string name="filebrowser_title">प्ले करण्यासाठी मेडिया निवडा</string>
   8   <string name="ml_no_media_dir">मेडिया डिरेक्टरी नाही</string>
   9   <string name="sortby">क्रमित करा...</string>
    ../../src/main/res/values-te/strings.xml:6: Also translated here
       3   <!--Main VLC Interface-->
       4   <string name="filebrowser_sdfail">SD కార్డును తెరవలేకపోతుంది. దయచేసి అది సరిగా అనుసంధానించబడిందో లేదో సరిచూడండి.</string>
       5   <string name="filebrowser_root">మూలం</string>
       6   <string name="filebrowser_parent">..</string>                                                   
       7   <string name="filebrowser_title">ప్రదర్శించుటకు మాధ్యమాన్ని ఎంచుకోండి</string>
       8   <string name="ml_no_media_dir">ఎటువంటి మాధ్యమ సంచయము లేదు</string>
       9   <string name="sortby">క్రమబద్ధీకరణ...</string>
    ../../src/main/res/values-wa/strings.xml:6: Also translated here
       3   <!--Main VLC Interface-->
       4   <string name="filebrowser_sdfail">Dji n\' sai drovi l\' cwåte SD. Si vs plait clitchîz si elle est montêye comifåt.</string>
       5   <string name="filebrowser_root">Raecene</string>
       6   <string name="filebrowser_parent">..</string>                                                   
       7   <string name="filebrowser_title">Tchoezi l\' media a djouwer</string>
       8   <string name="ml_no_media_dir">Nou ridant d\' media</string>
       9   <string name="sortby">Relére sol</string>
../../src/main/res/values-ar/strings.xml:6: "filebrowser_root" is translated here but not found in default locale
   3 
   4   <!-- Main VLC Interface -->
   5   <string name="filebrowser_sdfail">غير قادر على فتح بطاقة الذاكره الخارجيه.يرجى فحصه انه ملصوق بشكل صحيح</string>
   6   <string name="filebrowser_root">الجذر</string>                                                  
   7   <string name="filebrowser_title">إختر الوسائط للتشغيل</string>
   8   <string name="ml_no_media_dir">لايوجود دليل للوسائط</string>
   9   <string name="sortby">الترتيب بواسطة…</string>
    ../../src/main/res/values-bn-rIN/strings.xml:5: Also translated here
       2 <resources>
       3     <!--Main VLC Interface-->
       4     <string name="filebrowser_sdfail">SD কার্ড খুলতে অক্ষম। দয়া করে পরীক্ষা এইটি সঠিকভাবে মাউন্ট করা হয়।</string>
       5     <string name="filebrowser_root">মূল</string>                                                    
       6     <string name="filebrowser_title"> মিডিয়া চালাতে নির্বাচন করুন</string>
       7     <string name="ml_no_media_dir">কোনও মিডিয়া ডিরেক্টরী না</string>
       8     <string name="sortby">সাজান…</string>
    ../../src/main/res/values-mr/strings.xml:5: Also translated here
       2 <resources>
       3     <!--Main VLC Interface-->
       4     <string name="filebrowser_sdfail">SD कार्ड उघडू शकत नाही. ते योग्यरीत्या बसले आहे याची खात्री करा.</string>
       5     <string name="filebrowser_root">रूट</string>                                                    
       6     <string name="filebrowser_parent">..</string>
       7     <string name="filebrowser_title">प्ले करण्यासाठी मेडिया निवडा</string>
       8     <string name="ml_no_media_dir">मेडिया डिरेक्टरी नाही</string>
    ../../src/main/res/values-pt-rBR/strings.xml:6: Also translated here
       3 
       4   <!-- Main VLC Interface -->
       5   <string name="filebrowser_sdfail">Não foi possível acessar o cartão SD. Por favor, verifique se ele está montado.</string>
       6   <string name="filebrowser_root">Raiz</string>                                                   
       7   <string name="filebrowser_title">Selecione uma mídia para reproduzir</string>
       8   <string name="ml_no_media_dir">Pasta sem mídias</string>
       9   <string name="sortby">Ordenar por…</string>
    ../../src/main/res/values-te/strings.xml:5: Also translated here
    ../../src/main/res/values-wa/strings.xml:5: Also translated here
../../src/main/res/values-ar/strings.xml:8: "ml_no_media_dir" is translated here but not found in default locale
   5   <string name="filebrowser_sdfail">غير قادر على فتح بطاقة الذاكره الخارجيه.يرجى فحصه انه ملصوق بشكل صحيح</string>
   6   <string name="filebrowser_root">الجذر</string>
   7   <string name="filebrowser_title">إختر الوسائط للتشغيل</string>
   8   <string name="ml_no_media_dir">لايوجود دليل للوسائط</string>                                    
   9   <string name="sortby">الترتيب بواسطة…</string>
  10   <string name="sortby_name">الإسم</string>
  11   <string name="sortby_length">الطول</string>
    ../../src/main/res/values-bn-rIN/strings.xml:7: Also translated here
       4   <string name="filebrowser_sdfail">SD কার্ড খুলতে অক্ষম। দয়া করে পরীক্ষা এইটি সঠিকভাবে মাউন্ট করা হয়।</string>
       5   <string name="filebrowser_root">মূল</string>
       6   <string name="filebrowser_title"> মিডিয়া চালাতে নির্বাচন করুন</string>
       7   <string name="ml_no_media_dir">কোনও মিডিয়া ডিরেক্টরী না</string>                                
       8   <string name="sortby">সাজান…</string>
       9   <string name="sortby_name">নাম</string>
      10   <string name="sortby_length">দৈর্ঘ্য</string>
    ../../src/main/res/values-mr/strings.xml:8: Also translated here
       5     <string name="filebrowser_root">रूट</string>
       6     <string name="filebrowser_parent">..</string>
       7     <string name="filebrowser_title">प्ले करण्यासाठी मेडिया निवडा</string>
       8     <string name="ml_no_media_dir">मेडिया डिरेक्टरी नाही</string>                                   
       9     <string name="sortby">क्रमित करा...</string>
      10     <string name="sortby_name">नाव</string>
      11     <string name="sortby_length">लांबी</string>
    ../../src/main/res/values-pt-rBR/strings.xml:8: Also translated here
       5   <string name="filebrowser_sdfail">Não foi possível acessar o cartão SD. Por favor, verifique se ele está montado.</string>
       6   <string name="filebrowser_root">Raiz</string>
       7   <string name="filebrowser_title">Selecione uma mídia para reproduzir</string>
       8   <string name="ml_no_media_dir">Pasta sem mídias</string>                                        
       9   <string name="sortby">Ordenar por…</string>
      10   <string name="sortby_name">Nome</string>
      11   <string name="sortby_length">Tamanho</string>
    ../../src/main/res/values-te/strings.xml:8: Also translated here
    ../../src/main/res/values-wa/strings.xml:8: Also translated here
../../src/main/res/values-mr/strings.xml:14: "search_found_results" is translated here but not found in default locale
  11     <string name="sortby_length">लांबी</string>
  12     <string name="searchable_hint">शोध</string>
  13     <string name="history">इतिहास</string>
  14     <string name="search_found_results">%1$d निकाल मिळाले</string>                                  
  15     <string name="show_player">प्लेयर दाखवा</string>
  16     <string name="hide_mini_player">मिनी-प्लेयर लपवा</string>
  17     <string name="play">प्ले करा</string>
    ../../src/main/res/values-te/strings.xml:14: Also translated here
      11     <string name="sortby_length">పొడవు</string>
      12     <string name="searchable_hint">శోధించు...</string>
      13     <string name="history">చరిత్ర</string>
      14     <string name="search_found_results">%1$d ఫలితాలు కనబడ్డాయి</string>                             
      15     <string name="show_player">ప్రదర్శకాన్ని చూపించు</string>
      16     <string name="hide_mini_player">చిన్ని-ప్రదర్శకాన్ని దాయి</string>
      17     <string name="play">ప్రదర్శించు</string>
    ../../src/main/res/values-wa/strings.xml:14: Also translated here
      11     <string name="sortby_length">Longueu</string>
      12     <string name="searchable_hint">Cweri...</string>
      13     <string name="history">Istwere</string>
      14     <string name="search_found_results">%1$d rizultats trovés</string>                              
      15     <string name="show_player">Mostrer l\' djouweu</string>
      16     <string name="hide_mini_player">Catchî l\' mini djouweu</string>
      17     <string name="play">Djouwer</string>
ExtraTranslation Messages Correctness Fatal Priority 6/10

Hardcoded value of android:debuggable in the manifest

../../src/main/AndroidManifest.xml:22: Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign one
  19 
  20     <application
  21         android:name="org.videolan.vlc.VLCApplication"
  22         android:debuggable="true"                                                                   
  23         android:icon="@drawable/icon"
  24         android:logo="@drawable/header_logo"
  25         android:label="@string/app_name"
HardcodedDebugMode Security Fatal Priority 5/10

Disabled Checks

One or more issues were not run by lint, either because the check is not enabled by default, or because it was disabled with a command line flag or via one or more lint.xml configuration files in the project directories.

Suppressing Warnings and Errors

Lint errors can be suppressed in a variety of ways:

1. With a @SuppressLint annotation in the Java code
2. With a tools:ignore attribute in the XML file
3. With a //noinspection comment in the source code
4. With ignore flags specified in the build.gradle file, as explained below
5. With a lint.xml configuration file in the project
6. With a lint.xml configuration file passed to lint via the --config flag
7. With the --ignore flag passed to lint.

To suppress a lint warning with an annotation, add a @SuppressLint("id") annotation on the class, method or variable declaration closest to the warning instance you want to disable. The id can be one or more issue id's, such as "UnusedResources" or {"UnusedResources","UnusedIds"}, or it can be "all" to suppress all lint warnings in the given scope.

To suppress a lint warning with a comment, add a //noinspection id comment on the line before the statement with the error.

To suppress a lint warning in an XML file, add a tools:ignore="id" attribute on the element containing the error, or one of its surrounding elements. You also need to define the namespace for the tools prefix on the root element in your document, next to the xmlns:android declaration:
xmlns:tools="http://schemas.android.com/tools"

To suppress a lint warning in a build.gradle file, add a section like this:

android {
    lintOptions {
        disable 'TypographyFractions','TypographyQuotes'
    }
}

Here we specify a comma separated list of issue id's after the disable command. You can also use warning or error instead of disable to change the severity of issues.

To suppress lint warnings with a configuration XML file, create a file named lint.xml and place it at the root directory of the module in which it applies.

The format of the lint.xml file is something like the following:

<?xml version="1.0" encoding="UTF-8"?>
<lint>
    <!-- Disable this given check in this project -->
    <issue id="IconMissingDensityFolder" severity="ignore" />

    <!-- Ignore the ObsoleteLayoutParam issue in the given files -->
    <issue id="ObsoleteLayoutParam">
        <ignore path="res/layout/activation.xml" />
        <ignore path="res/layout-xlarge/activation.xml" />
    </issue>

    <!-- Ignore the UselessLeaf issue in the given file -->
    <issue id="UselessLeaf">
        <ignore path="res/layout/main.xml" />
    </issue>

    <!-- Change the severity of hardcoded strings to "error" -->
    <issue id="HardcodedText" severity="error" />
</lint>

To suppress lint checks from the command line, pass the --ignore flag with a comma separated list of ids to be suppressed, such as:
$ lint --ignore UnusedResources,UselessLeaf /my/project/path

For more information, see http://g.co/androidstudio/suppressing-lint-warnings