Overview
Correctness | |
4 | warning UnusedAttribute: Attribute unused on older versions |
5 | warning VectorRaster: Vector Image Generation |
138 | warning GradleDependency: Obsolete Gradle Dependency |
35 | warning UsingMaterialAndMaterial3Libraries: material and material3 are separate, incompatible design system libraries |
Security | |
2 | warning TrustAllX509TrustManager: Insecure TLS/SSL trust manager |
Performance | |
15 | warning VectorPath: Long vector paths |
4 | warning
AutoboxingStateCreation: State<T> will autobox values assigned to this state. Use a specialized state type instead. |
110 | warning UnusedResources: Unused resources |
Included Additional Checks (82) | |
Disabled Checks (41) |
Attribute unused on older versions
../../src/main/AndroidManifest.xml:78:
75 android:icon="@drawable/ic_launcher_icon" 76 android:roundIcon="@drawable/ic_launcher_icon" 77 android:label="@string/app_name" 78 android:usesCleartextTraffic="true" 79 android:theme="@style/Theme.App.Starting" 80 android:supportsRtl="true" 81 tools:ignore="GoogleAppIndexingWarning"../../src/main/AndroidManifest.xml:84:
81 tools:ignore="GoogleAppIndexingWarning" 82 android:fullBackupContent="@xml/backup_rules" 83 android:dataExtractionRules="@xml/data_extraction_rules" 84 android:localeConfig="@xml/locales_config" 85 > 86 87 <!--../../src/main/res/drawable/splash_background.xml:9:
6 <item android:gravity="center" android:drawable="@drawable/ic_launcher_icon" /> 7 8 <item 9 android:width="200dp" 10 android:height="80dp" 11 android:drawable="@drawable/splash_brand_img" 12 android:gravity="center|bottom" />../../src/main/res/drawable/splash_background.xml:10:
7 8 <item 9 android:width="200dp" 10 android:height="80dp" 11 android:drawable="@drawable/splash_brand_img" 12 android:gravity="center|bottom" />
UnusedAttribute
Correctness
Warning
Priority 6/10
Vector Image Generation
../../src/main/res/drawable/illustration_connect.xml:2:
1 <vector xmlns:android="http://schemas.android.com/apk/res/android" 2 android:width="1000dp" 3 android:height="1000dp" 4 android:viewportWidth="1000" 5 android:viewportHeight="1000">../../src/main/res/drawable/illustration_offline_sharing.xml:2:
1 <vector android:height="500dp" android:viewportHeight="1000" 2 android:viewportWidth="1000" android:width="500dp" xmlns:android="http://schemas.android.com/apk/res/android"> 3 <group> 4 <clip-path android:pathData="M8.83,542.06c0,-155.18 140.09,-386.37 416.31,-357.3C743,218.23 1023.29,328.32 979.35,535.24 950.2,672.5 744.15,806.84 512.87,824.39 285.43,841.64 8.83,697.25 8.83,542.06Z"/> 5 <path android:fillColor="#eaf6f2" android:pathData="M8.83,542.06c0,-155.18 140.09,-386.37 416.31,-357.3C743,218.23 1023.29,328.32 979.35,535.24 950.2,672.5 744.15,806.84 512.87,824.39 285.43,841.64 8.83,697.25 8.83,542.06Z"/>../../src/main/res/drawable/illustration_offline_usage.xml:2:
1 <vector android:height="480dp" android:viewportHeight="1000" 2 android:viewportWidth="1000" android:width="480dp" xmlns:android="http://schemas.android.com/apk/res/android"> 3 <group> 4 <clip-path android:pathData="M512,15.32q-5.39,0.26 -10.75,0.61C344.67,26 191.95,105 143.81,263.89 67.9,514.42 36,749.39 192,887.16c151,133.38 293.42,126.41 378.82,6.84 41.75,-51.24 178.41,-87.3 242.94,-119.57s163.22,-163.22 55,-324.55c-22.77,-34.16 -19,-153.73 -9.49,-220.16 7.64,-53.52 -36.7,-108.61 -74.7,-140.21C708.89,26.53 607.79,10.67 512,15.32Z"/> 5 <path android:fillColor="#ceedbe" android:pathData="M580.84,247.73s-59.4,6.16 -57.16,13.45 54.45,38.57 57.48,60.47Z"/>../../src/main/res/drawable/illustration_organized.xml:2:
1 <vector xmlns:android="http://schemas.android.com/apk/res/android" 2 android:width="1000dp" 3 android:height="1000dp" 4 android:viewportWidth="1000" 5 android:viewportHeight="1000">../../src/main/res/drawable/splash_inset.xml:10:
7 --> 8 <inset xmlns:android="http://schemas.android.com/apk/res/android" 9 android:drawable="@drawable/ic_launcher_icon" 10 android:width="288dp" 11 android:height="288dp" 12 android:insetLeft="56dp" 13 android:insetRight="56dp"
VectorRaster
Correctness
Warning
Priority 5/10
Obsolete Gradle Dependency
../../../gradle/libs.versions.toml:5:
2 3 version-moko-resources = "0.23.0" 4 jetbrains-compose = "1.6.1" 5 androidx-activity = "1.8.2" 6 version-androidx-appcompat = "1.6.1" 7 androidx-core = "1.12.0" 8 kotlin = "1.9.23"../../../gradle/libs.versions.toml:5:
2 3 version-moko-resources = "0.23.0" 4 jetbrains-compose = "1.6.1" 5 androidx-activity = "1.8.2" 6 version-androidx-appcompat = "1.6.1" 7 androidx-core = "1.12.0" 8 kotlin = "1.9.23"../../../gradle/libs.versions.toml:5:
2 3 version-moko-resources = "0.23.0" 4 jetbrains-compose = "1.6.1" 5 androidx-activity = "1.8.2" 6 version-androidx-appcompat = "1.6.1" 7 androidx-core = "1.12.0" 8 kotlin = "1.9.23"../../../gradle/libs.versions.toml:5:
2 3 version-moko-resources = "0.23.0" 4 jetbrains-compose = "1.6.1" 5 androidx-activity = "1.8.2" 6 version-androidx-appcompat = "1.6.1" 7 androidx-core = "1.12.0" 8 kotlin = "1.9.23"../../../gradle/libs.versions.toml:5:
2 3 version-moko-resources = "0.23.0" 4 jetbrains-compose = "1.6.1" 5 androidx-activity = "1.8.2" 6 version-androidx-appcompat = "1.6.1" 7 androidx-core = "1.12.0" 8 kotlin = "1.9.23"+ 133 More Occurrences...
GradleDependency
Correctness
Warning
Priority 4/10
material and material3 are separate, incompatible design system libraries
../../src/main/java/com/ustadmobile/port/android/view/HolidayCalendarListFragment.kt:8:
5 import androidx.compose.foundation.lazy.LazyColumn 6 import androidx.compose.foundation.lazy.items 7 import androidx.compose.material.ExperimentalMaterialApi 8 import androidx.compose.material.ListItem 9 import androidx.compose.material.Text 10 import androidx.compose.runtime.Composable 11 import androidx.compose.ui.Modifier../../src/main/java/com/ustadmobile/port/android/view/HolidayCalendarListFragment.kt:9:
6 import androidx.compose.foundation.lazy.items 7 import androidx.compose.material.ExperimentalMaterialApi 8 import androidx.compose.material.ListItem 9 import androidx.compose.material.Text 10 import androidx.compose.runtime.Composable 11 import androidx.compose.ui.Modifier 12 import androidx.compose.ui.res.stringResource../../src/main/java/com/ustadmobile/port/android/view/HtmlEditFragment.kt:6:
3 import androidx.compose.foundation.layout.Column 4 import androidx.compose.foundation.layout.fillMaxSize 5 import androidx.compose.foundation.layout.fillMaxWidth 6 import androidx.compose.material.MaterialTheme 7 import androidx.compose.material.Text 8 import androidx.compose.runtime.Composable 9 import androidx.compose.runtime.collectAsState../../src/main/java/com/ustadmobile/port/android/view/HtmlEditFragment.kt:7:
4 import androidx.compose.foundation.layout.fillMaxSize 5 import androidx.compose.foundation.layout.fillMaxWidth 6 import androidx.compose.material.MaterialTheme 7 import androidx.compose.material.Text 8 import androidx.compose.runtime.Composable 9 import androidx.compose.runtime.collectAsState 10 import androidx.compose.runtime.getValue../../src/main/java/com/ustadmobile/port/android/view/LanguageListFragment.kt:10:
7 import androidx.compose.foundation.lazy.LazyColumn 8 import androidx.compose.foundation.lazy.items 9 import androidx.compose.material.ExperimentalMaterialApi 10 import androidx.compose.material.ListItem 11 import androidx.compose.material.Text 12 import androidx.compose.runtime.Composable 13 import androidx.compose.ui.Modifier+ 30 More Occurrences...
Vendor: Jetpack Compose
Identifier: androidx.compose.material3
Feedback: https://issuetracker.google.com/issues/new?component=612128
Identifier: androidx.compose.material3
Feedback: https://issuetracker.google.com/issues/new?component=612128
UsingMaterialAndMaterial3Libraries
Correctness
Warning
Priority 3/10
Insecure TLS/SSL trust manager
../../../../../../.gradle/caches/modules-2/files-2.1/com.athaydes.rawhttp/rawhttp-core/2.6.0/8bbc07fc8faa95d25f8d4d686336b37f674a84b1/rawhttp-core-2.6.0.jar:
../../../../../../.gradle/caches/modules-2/files-2.1/com.athaydes.rawhttp/rawhttp-core/2.6.0/8bbc07fc8faa95d25f8d4d686336b37f674a84b1/rawhttp-core-2.6.0.jar:
../../../../../../.gradle/caches/modules-2/files-2.1/com.athaydes.rawhttp/rawhttp-core/2.6.0/8bbc07fc8faa95d25f8d4d686336b37f674a84b1/rawhttp-core-2.6.0.jar:
TrustAllX509TrustManager
Security
Warning
Priority 6/10
Long vector paths
../../src/main/res/drawable/ic_launcher_icon.xml:4:
1 <vector android:height="200dp" android:viewportHeight="728.97076" 2 android:viewportWidth="728.97076" android:width="200dp" xmlns:android="http://schemas.android.com/apk/res/android"> 3 <group> 4 <clip-path android:pathData="m297.334,4.872c-14.731,3.849 -29.919,6.36 -42.472,16.339l0,-0c-6.045,4.803 -11.135,11.223 -17.679,14.956l0,-0c-15.048,8.589 -28.743,19.228 -42.98,29.013l0,-0c-16.423,11.284 -31.311,24.557 -44.055,40.305l0,-0c-6.756,8.348 -13.848,16.465 -21.341,24.112l0,-0c-4.961,5.064 -10.181,9.636 -12.207,16.848l0,-0c-0.86,3.057 -3.509,4.416 -5.729,6.385l0,-0c-6.801,6.028 -14.523,11.723 -19.327,19.244l0,-0c-19.787,30.968 -40.639,61.553 -49.868,98.031l0,-0c-2.892,11.425 -8.817,22.243 -7.643,34.555l0,-0c0.137,1.436 0.056,3.063 -0.459,4.391l0,-0c-5.919,15.271 -3.521,31.504 -6.168,47.181l0,-0c-1.783,10.563 -0.851,21.345 0.573,32.079l0,-0c1.431,10.78 4.232,21.451 2.732,32.7l0,-0c-0.723,5.417 -0.551,10.989 0.996,16.524l0,-0c4.725,16.917 6.836,34.825 17.519,49.384l0,-0c0.629,0.856 1.064,1.959 1.3,3.021l0,-0c1.783,8.043 6.075,14.939 9.583,22.115l0,-0c3.344,6.836 5.873,14.549 11.736,19.587l0,-0c4.856,4.173 7.967,9.256 10.556,14.979l0,-0c1.197,2.647 2.319,5.639 4.321,7.523l0,-0c9.251,8.7 15.212,20.143 23.711,29.56l0,-0c8.659,9.595 18.501,16.885 29.375,23.145l0,-0c1.868,1.075 3.775,1.929 5.296,3.605l0,-0c7.448,8.204 11.585,9.003 21.985,3.789l0,-0c-3.335,6.508 -6.915,13.075 4.141,13.055l0,-0c0.235,-0.001 0.483,0.499 0.688,0.792l0,-0c5.895,8.469 13.957,12.981 24.029,14.576l0,-0c2.933,0.463 5.125,3.191 8.968,1.995l0,-0c3.803,-1.185 2.247,-5.868 6.543,-8.093l0,-0c2.107,13.591 4.383,27.045 22.383,20.133l0,-0c2.363,7.503 6.493,12.368 14.676,11.631l0,-0c1.452,-0.131 2.94,-0.601 3.832,0.919l0,-0c3.031,5.163 7.365,3.185 11.533,2.024l0,-0c2.057,-0.573 5.112,-2.389 5.995,-0.419l0,-0c2.843,6.336 7.528,3.7 11.983,3.427l0,-0c3.352,-0.205 7.817,0.752 6.407,5l0,-0c-1.743,5.245 1.18,8.236 3.268,11.705l0,-0c-3.153,1.855 -6.151,1.233 -9.275,0.611l0,-0c-2.888,-0.576 -5.884,-1.152 -9.208,0.233l0,-0c10.913,8.513 22.555,12.095 34.541,12.783l0,-0c7.207,0.413 14.196,0.413 21.037,2.909l0,-0c7.427,2.709 15.081,2.695 23.032,1.955l0,-0c6.615,-0.615 13.676,-0.209 19.961,1.661l0,-0c5.839,1.739 11.091,2.672 16.728,0.084l0,-0c2.485,-1.141 4.645,-1.683 6.939,0.461l0,-0c2.684,2.508 6.131,1.575 9.328,1.189l0,-0c4.325,-0.52 8.625,-1.033 12.876,0.191l0,-0c-2.211,2.553 -5.16,2.105 -8.009,2.451l0,-0c-7.661,0.929 -15.241,2.335 -23.433,6.863l0,-0c10.309,5.051 21.004,1.592 29.808,6.42l0,-0c0.776,0.425 2.155,-0.027 3.175,-0.353l0,-0c6.033,-1.937 11.628,-7.549 18.527,-2.32l0,-0c0.745,0.564 3.148,-1.435 4.864,-1.884l0,-0c8.272,-2.172 14.593,-8.372 22.309,-11.815l0,-0c3.519,-1.569 3.928,-1.797 4.365,1.943l0,-0c0.385,3.305 3.103,3.877 5.735,3.283l0,-0c2.883,-0.649 2.477,-2.817 1.963,-5.225l0,-0c-1.419,-6.636 3.001,-5.005 6.441,-4.643l0,-0c2.037,-0.757 3.165,-3.58 5.861,-2.84l0,-0c2.576,0.519 5.38,3.36 7.565,-0.627l0,-0c1.045,-1.907 2.317,-2.973 4.276,-2.276l0,-0c4.937,1.756 8.204,-1.508 11.721,-4.108l0,-0c1.764,-1.304 3.393,-3.517 5.276,-3.817l0,-0c10.773,-1.717 18.299,-9.996 26.751,-15.555l0,-0c12.572,-8.268 19.576,-22.828 27.38,-35.729l0,-0c3.045,-5.033 4.869,-10.121 10.277,-13.427l0,-0c5.983,-3.655 7.429,-11.189 7.883,-17.103l0,-0c0.255,-3.305 -0.728,-5.212 2.883,-5.833l0,-0c6.212,-1.067 8.353,-4.656 8.144,-10.943l0,-0c-0.136,-4.108 1.848,-7.917 4.997,-10.839l0,-0c0.273,-0.268 0.52,-0.564 0.737,-0.881l0,-0c1.609,-3.308 2.091,-7.808 5.737,-9.243l0,-0c5.347,-2.104 5.359,-6.425 5.271,-10.713l0,-0c1.427,-0.54 2.579,0.156 3.677,0.852l0,-0c1.433,0.907 2.773,1.815 4.516,-0.02l0,-0c4.84,-5.093 -2.393,-8.437 -1.691,-13.273l0,-0c1.405,-0.972 2.915,-0.276 4.419,0.421l0,-0c2.064,0.956 4.121,1.911 5.897,-1.44l0,-0c2.067,-3.9 5.908,-7.021 7.287,-11.06l0,-0c2.365,-6.945 -5.316,-5.683 -8.6,-8.204l0,-0c3.784,-2.909 6.781,-1.421 9.841,-0.444l0,-0c1.448,0.46 2.964,0.2 3.883,-1.227l0,-0c1.008,-1.564 0.191,-2.743 -1.013,-3.749l0,-0c-4.615,-3.864 -1.745,-5.292 2.111,-6.328l0,-0c1.751,-0.472 3.553,-0.737 5.289,-1.259l0,-0c1.483,-0.445 2.659,-1.461 2.631,-3.171l0,-0c-0.028,-1.72 -1.263,-2.484 -2.764,-2.829l0,-0c-1.601,-0.369 -3.817,0.077 -3.572,-2.631l0,-0c4.577,-6.449 9.125,-12.737 13.507,-19.143l0,-0c0.815,-1.189 1.047,-2.991 -0.509,-3.939l0,-0c-1.075,-0.653 -1.992,0.256 -2.772,1.088l0,-0c-1.204,1.281 -2.553,1.748 -3.247,-0.241l0,-0c-0.692,-1.985 -0.001,-3.744 2.22,-4.253l0,-0c0.623,-0.143 1.284,-0.061 1.952,0.021l0,-0c0.416,0.051 0.835,0.101 1.247,0.097l0,-0c6.592,-0.061 8.98,-2.572 8.345,-9.136l0,-0c-0.143,-1.455 -3.192,-2.885 -0.315,-4.295l0,-0c4.08,-2.003 3.084,-3.435 0.04,-5.067l0,-0c-1.748,-0.937 -4.601,-0.893 -3.525,-4.419l0,-0c8.56,-0.067 9.764,-6.573 11.229,-13.229l0,-0c2.672,-12.147 2.811,-12.119 -2.764,-19.824l0,-0c5.781,-1.356 8.571,-4.653 7.047,-10.893l0,-0c-0.324,-1.335 1.535,-3.244 2.305,-4.928l0,-0c2.927,-6.384 6.431,-12.667 3.62,-20.043l0,-0c-0.701,-1.841 0.741,-3.711 0.652,-5.332l0,-0c-0.436,-7.972 -1.447,-15.841 4.452,-22.735l0,-0c0.78,-0.912 -0.241,-3.529 -0.563,-5.328l0,-0c-0.255,-1.437 -1.44,-3.669 -0.961,-4.115l0,-0c4.307,-4.001 -0.379,-9.937 1.78,-12.457l0,-0c4.528,-5.285 0.637,-9.765 1.151,-14.493l0,-0c2.355,-21.695 -2.667,-42.583 -4.913,-63.769l0,-0c-1.5,-14.144 -8.121,-26.58 -11.925,-39.92l0,-0c-6.233,-21.86 -17.823,-40.784 -27.775,-60.631l0,-0c-1.303,-2.597 -3.084,-4.951 -4.804,-7.289l0,-0c-10.525,-14.323 -22.707,-27.287 -32.348,-42.339l0,-0c-1.164,-1.819 -2.713,-3.392 -4.204,-4.959l0,-0c-10.963,-11.52 -22.237,-22.74 -32.869,-34.575l0,-0c-13.072,-14.549 -27.941,-25.644 -46.785,-31.561l0,-0c-21.579,-6.773 -43.312,-13.307 -63.669,-23.567l0,-0c-5.729,-2.887 -11.973,-5.657 -18.248,-6.34l0,-0c-20.416,-2.219 -39.989,-8.821 -60.652,-9.827l0,-0c-15.435,-0.751 -30.849,-2.049 -46.256,-2.049l0,-0c-14.345,-0 -28.681,1.127 -43.017,4.872M436.956,710.215c-7.827,4.183 -13.564,4.139 -19.412,2.841l0,-0c5.435,-3.153 11.209,-2.719 19.412,-2.841m-19.444,2.835c0.011,0.003 0.021,0.005 0.032,0.007l0,-0c-0.008,0.005 -0.019,0.009 -0.025,0.015l0,-0c-0.007,-0.003 -0.016,-0.004 -0.023,-0.007l0,-0c0.005,-0.004 0.011,-0.008 0.016,-0.015"/> 5 <path android:fillColor="#34346e" android:fillType="nonZero" 6 android:pathData="m213.46,196.52c0.575,17.868 2.201,35.696 5.151,53.341 1.505,9 3.149,18.057 5.615,26.856 1.964,7.008 4.076,13.976 5.927,21.015 3.585,13.636 6.953,28.701 4.399,42.547 -1.201,6.509 -3.537,12.751 -7.783,17.885 -4.224,5.109 -9.215,8.751 -15.287,11.555 -3.999,1.847 -8.56,3.284 -13.164,4.428l1.648,-20.219 -6.988,-44.507 -11.981,-36.776 -8.984,-53.861 2.995,-31.337 6.988,-31.339c0,-0 12.979,-20.565 12.98,-20.565 6.525,-7.255 13.167,-13.789 20.011,-19.893C213.979,142.6 212.594,169.56 213.46,196.52" android:strokeColor="#00000000"/> 7 <path android:fillColor="#34346e" android:fillType="nonZero"../../src/main/res/drawable/ic_launcher_icon.xml:8:
5 <path android:fillColor="#34346e" android:fillType="nonZero" 6 android:pathData="m213.46,196.52c0.575,17.868 2.201,35.696 5.151,53.341 1.505,9 3.149,18.057 5.615,26.856 1.964,7.008 4.076,13.976 5.927,21.015 3.585,13.636 6.953,28.701 4.399,42.547 -1.201,6.509 -3.537,12.751 -7.783,17.885 -4.224,5.109 -9.215,8.751 -15.287,11.555 -3.999,1.847 -8.56,3.284 -13.164,4.428l1.648,-20.219 -6.988,-44.507 -11.981,-36.776 -8.984,-53.861 2.995,-31.337 6.988,-31.339c0,-0 12.979,-20.565 12.98,-20.565 6.525,-7.255 13.167,-13.789 20.011,-19.893C213.979,142.6 212.594,169.56 213.46,196.52" android:strokeColor="#00000000"/> 7 <path android:fillColor="#34346e" android:fillType="nonZero" 8 android:pathData="m302.686,403.067c-3.723,-11.132 -6.017,-22.781 -7.825,-34.347 -1.912,-12.227 -3.076,-24.563 -3.671,-36.917 -1.211,-25.152 -0.225,-50.365 1.907,-75.445 1.689,-19.888 3.917,-39.74 5.819,-59.611 1.793,-18.732 3.815,-37.464 7.097,-56.009 3.301,-18.649 7.724,-37.265 14.853,-54.896 4.128,-10.208 9.251,-20.129 15.712,-29.104 60.645,-0.783 134.76,2.849 157.905,68.033 0,0.001 30.949,87.159 17.971,152.772 -2.945,14.888 -4.389,23.271 -4.863,27.336 -1.063,5.061 -1.989,10.151 -2.811,15.259 -6.267,20.128 -14.595,44.272 -23.193,61.699 0.171,-0.341 0.183,9.732 0.145,20.591 -2.328,4.46 -4.384,9.057 -6.167,13.756 -3.159,8.325 -6.617,21.972 -8.148,36.372 -2.597,24.431 -2.009,50.252 -2.188,50.308 -0.848,0.265 -27.965,-26.94 -42.035,-35.155 -16.032,-9.36 -33.716,-16.727 -51.649,-21.768 -16.201,-4.556 -32.907,-7.013 -49.708,-7.937C313.398,427.596 306.916,415.72 302.686,403.067" android:strokeColor="#00000000"/> 9 <path android:fillColor="#34346e" android:fillType="nonZero" 10 android:pathData="m275.316,133.776c-4.712,-19.271 -5.4,-39.187 -5.501,-58.981 14.468,-9.331 30.193,-17.393 47.803,-17.724 3.461,-0.065 6.996,-0.137 10.592,-0.201C324.843,61.969 321.852,67.312 319.216,72.792 304.322,103.756 298.496,138.193 294.624,172.095 284.548,161.519 278.744,147.795 275.316,133.776" android:strokeColor="#00000000"/> 11 <path android:fillColor="#34346e" android:fillType="nonZero"../../src/main/res/drawable/ic_launcher_icon.xml:16:
13 <path android:fillColor="#34346e" android:fillType="nonZero" 14 android:pathData="m285.014,272.924c-10.159,-16.384 -21.393,-32.099 -31.788,-48.339 -14.305,-22.349 -27.355,-46.017 -32.667,-72.12 0.427,-14.329 1.08,-28.657 1.572,-42.983 3.164,-2.641 6.377,-5.213 9.645,-7.745 2.481,12.261 6.196,24.251 11.183,35.785C253.261,161.35 268.929,182.518 287.518,200.782 288.926,202.166 290.763,201.588 291.683,200.376 290.439,213.09 289.247,225.809 287.93,238.516 286.743,249.962 285.738,261.436 285.014,272.924" android:strokeColor="#00000000"/> 15 <path android:fillColor="#34346e" android:fillType="nonZero" 16 android:pathData="m176.005,417.583 l8.985,-18.607 10.924,-17.311c6.419,-1.373 12.723,-3.156 18.708,-5.921 12.995,-6 22.743,-17 26.012,-30.84 3.44,-14.559 0.932,-29.833 -2.576,-44.141 -1.763,-7.192 -3.855,-14.299 -5.897,-21.417 -2.38,-8.295 -4.248,-16.671 -5.8,-25.155 -3.205,-17.525 -5.077,-35.248 -5.808,-53.037 -0.399,-9.709 -0.489,-19.421 -0.396,-29.131 4.66,13.641 11.14,26.701 18.392,39.183 13.616,23.433 30.02,45.149 44.044,68.333 0.499,0.825 1.219,1.217 1.967,1.293 -0.559,10.952 -0.835,21.916 -0.733,32.884 0.229,24.839 2.276,49.808 7.692,74.112 2.461,11.041 5.699,21.791 10.696,32.011 3.059,6.253 6.673,12.208 10.791,17.817 -3.228,-0.077 -6.456,-0.104 -9.683,-0.079 -5.771,0.044 -11.539,0.216 -17.301,0.509 -5.837,0.297 -11.665,0.908 -17.501,1.173 -10.937,0.496 -21.889,0.319 -32.831,0.104 -19.741,-0.388 -39.661,-0.957 -59.257,1.731l0.572,-3.925z" android:strokeColor="#00000000"/> 17 <path android:fillColor="#34346e" android:fillType="nonZero" 18 android:pathData="m471.164,476.07c0.579,-13.895 1.912,-27.808 5.205,-41.36 2.019,-8.308 4.755,-16.391 8.303,-24.127 6.28,8.111 57.88,65.328 57.113,70.407 -4.403,29.177 -43.399,38.152 -43.745,67.805 -0.54,-1.077 -9.244,-14.875 -15.312,-24.06 -6.079,-9.203 -11.708,-15.98 -13.132,-17.699C469.487,503.105 470.868,483.21 471.164,476.07" android:strokeColor="#00000000"/> 19 <path android:fillColor="#34346e" android:fillType="nonZero"../../src/main/res/drawable/ic_launcher_icon.xml:24:
21 <path android:fillColor="#f5f7ec" android:fillType="nonZero" 22 android:pathData="m429.408,128.95c1.257,-3.453 2.307,-6.969 3.144,-10.537 1.252,-5.327 31.529,10.929 33.336,12.461 22.056,18.719 23.185,44.795 21.615,71.381 -2.269,38.421 17.887,67.747 -5.391,114.301 -8.477,16.955 -18.549,42.12 -18.651,42.387 -7.451,19.485 -19.243,27.331 -42.404,23.311 -17.427,-3.025 -34.535,-8.276 -50.999,-14.589 -14.435,-5.536 -29.041,-13.788 -36.567,-27.612 -0.003,-0.003 -0.004,-0.005 -0.005,-0.008 -13.125,-24.131 -23.133,-29.96 -13.569,-91.399C330.605,179.996 426.697,136.387 429.408,128.95" android:strokeColor="#00000000"/> 23 <path android:fillColor="#34346e" android:fillType="nonZero" 24 android:pathData="M367.308,236.116C367.29,236.116 367.11,236.25 366.981,236.348 367.102,236.232 367.234,236.119 367.308,236.116m1.977,-1.344c1.592,-1.016 3.26,-1.912 4.969,-2.715 0.429,-0.2 0.863,-0.391 1.295,-0.585 0.008,-0.004 0.019,-0.008 0.027,-0.012 0.133,-0.056 0.267,-0.111 0.399,-0.164 0.952,-0.384 1.913,-0.741 2.883,-1.077 1.875,-0.651 3.779,-1.216 5.699,-1.712 1.999,-0.515 4.016,-0.953 6.045,-1.325 0.929,-0.169 1.861,-0.324 2.795,-0.467 0.099,-0.015 0.44,-0.067 0.717,-0.109 0.516,-0.076 1.035,-0.132 1.552,-0.192 3.725,-0.431 7.477,-0.653 11.228,-0.632C408.742,225.792 410.592,225.863 412.434,226.015 412.858,226.051 413.284,226.09 413.708,226.135 413.914,226.156 414.12,226.179 414.325,226.203 414.361,226.207 414.43,226.216 414.506,226.226 414.756,226.263 415.168,226.324 415.273,226.34c0.4,0.067 0.8,0.139 1.199,0.216 2.244,0.435 4.84,-0.632 5.393,-3.063 0.493,-2.168 -0.655,-4.927 -3.063,-5.395 -7.269,-1.408 -14.825,-1.335 -22.163,-0.563C387.852,218.462 379.241,220.356 371.124,223.9 366.926,225.732 363.001,228.134 359.589,231.2c-1.711,1.539 -1.681,4.657 0,6.201 1.827,1.677 4.376,1.64 6.201,-0 0.316,-0.284 0.635,-0.563 0.961,-0.835 0.037,-0.031 0.099,-0.092 0.167,-0.157 0.041,-0.029 0.099,-0.071 0.188,-0.136 0.713,-0.52 1.433,-1.028 2.179,-1.501" android:strokeColor="#00000000"/> 25 <path android:fillColor="#34346e" android:fillType="nonZero" 26 android:pathData="M455.968,286.858C455.959,286.863 456.096,286.716 456.195,286.604 456.118,286.72 456.04,286.82 455.968,286.858m-5.225,2.383c0.139,0.007 0.267,0.016 0.256,0.028 -0.024,0.027 -0.133,0.004 -0.256,-0.028m-0.932,-0.293c0.067,0.031 0.108,0.048 0.161,0.072 -0.079,-0.023 -0.149,-0.049 -0.161,-0.072m9.115,-41.251c-1.189,-5.335 -2.379,-10.669 -3.568,-16.004 0.241,-0.375 0.473,-0.755 0.732,-1.119 0.015,-0.02 0.024,-0.033 0.037,-0.052 0.024,-0.028 0.048,-0.056 0.08,-0.093 0.289,-0.341 0.577,-0.683 0.879,-1.012 1.081,-1.183 2.269,-2.245 3.503,-3.264 0.037,-0.031 0.079,-0.069 0.119,-0.109 0.099,-0.071 0.2,-0.139 0.281,-0.199 0.323,-0.239 0.649,-0.473 0.979,-0.703 0.759,-0.528 1.533,-1.032 2.323,-1.516 1.547,-0.947 3.145,-1.811 4.777,-2.603 0.789,-0.383 1.591,-0.739 2.392,-1.099 0.028,-0.013 0.047,-0.021 0.071,-0.032 0.189,-0.077 0.379,-0.156 0.568,-0.232 0.465,-0.188 0.932,-0.371 1.401,-0.548 1.836,-0.693 3.7,-1.311 5.587,-1.852 1.875,-0.539 3.771,-1.003 5.683,-1.388 0.86,-0.172 1.721,-0.329 2.588,-0.468 0.419,-0.068 0.86,-0.176 1.284,-0.193 -1.24,0.053 0.409,-0.047 0.744,-0.083 1.943,-0.212 3.896,-0.332 5.849,-0.329 0.969,0.001 1.94,0.032 2.907,0.099 0.467,0.033 0.932,0.073 1.397,0.123 0.036,0.004 0.085,0.013 0.128,0.021 0.071,0.003 0.168,0.012 0.323,0.036 0.031,0.001 0.069,0.009 0.096,0.007 -0.003,-0 -0.007,-0 -0.009,-0 2.237,0.312 4.749,-0.607 5.311,-3.069 0.476,-2.092 -0.639,-5.023 -3.063,-5.393C494.274,205.388 486.051,206.324 478.212,208.4 470.402,210.47 462.558,213.723 456.086,218.63c-3.432,2.603 -6.549,5.577 -8.749,9.323 -0.12,0.203 -0.207,0.42 -0.288,0.64 -0.628,0.987 -0.864,2.213 -0.579,3.497 2.105,9.441 5.905,23.969 8.009,33.411 0.527,2.36 1.053,4.72 1.579,7.081C456.288,273.612 456.522,274.642 456.739,275.675 456.858,276.239 456.971,276.804 457.075,277.372 457.114,277.584 457.151,277.798 457.187,278.011 457.212,278.163 457.255,278.431 457.275,278.544 457.392,279.464 457.462,280.394 457.47,281.319 457.474,281.882 457.447,282.44 457.41,283.003 457.408,283.018 457.398,283.103 457.388,283.192 457.348,283.384 457.266,283.843 457.251,283.907 457.142,284.386 456.951,284.847 456.843,285.324 456.834,285.364 456.832,285.38 456.827,285.408 456.762,285.546 456.695,285.68 456.624,285.814 456.55,285.952 456.404,286.262 456.251,286.514 456.232,286.531 456.208,286.55 456.17,286.586 455.979,286.762 455.82,286.984 455.638,287.171c-0.3,0.307 -0.628,0.576 -0.947,0.861 0.809,-0.725 -0.309,0.169 -0.571,0.323 -0.14,0.083 -0.28,0.161 -0.423,0.237 -0.015,0.008 -0.197,0.099 -0.351,0.177 -0.085,0.035 -0.175,0.071 -0.22,0.085 -0.255,0.077 -0.503,0.164 -0.761,0.231 -0.153,0.04 -0.308,0.069 -0.461,0.107 -0.139,0.035 -0.223,0.06 -0.285,0.08 -0.316,-0 -0.736,-0.052 -0.871,-0.052 -0.039,-0 -0.053,-0 -0.084,-0 -0.18,-0.052 -0.371,-0.12 -0.413,-0.129 -0.023,-0.005 -0.087,-0.02 -0.155,-0.037 -0.127,-0.063 -0.251,-0.128 -0.372,-0.2 -2.003,-1.12 -4.879,-0.548 -5.999,1.572 -1.093,2.069 -0.565,4.804 1.572,6 4.172,2.332 9.195,1.879 13.248,-0.499 4.501,-2.639 6.908,-7.007 7.541,-12.091C466.724,278.734 465.248,273.539 464.146,268.598 462.971,263.326 460.1,252.968 458.926,247.696" android:strokeColor="#00000000"/> 27 <path android:fillColor="#34346e" android:fillType="nonZero"../../src/main/res/drawable/ic_launcher_icon.xml:26:
23 <path android:fillColor="#34346e" android:fillType="nonZero" 24 android:pathData="M367.308,236.116C367.29,236.116 367.11,236.25 366.981,236.348 367.102,236.232 367.234,236.119 367.308,236.116m1.977,-1.344c1.592,-1.016 3.26,-1.912 4.969,-2.715 0.429,-0.2 0.863,-0.391 1.295,-0.585 0.008,-0.004 0.019,-0.008 0.027,-0.012 0.133,-0.056 0.267,-0.111 0.399,-0.164 0.952,-0.384 1.913,-0.741 2.883,-1.077 1.875,-0.651 3.779,-1.216 5.699,-1.712 1.999,-0.515 4.016,-0.953 6.045,-1.325 0.929,-0.169 1.861,-0.324 2.795,-0.467 0.099,-0.015 0.44,-0.067 0.717,-0.109 0.516,-0.076 1.035,-0.132 1.552,-0.192 3.725,-0.431 7.477,-0.653 11.228,-0.632C408.742,225.792 410.592,225.863 412.434,226.015 412.858,226.051 413.284,226.09 413.708,226.135 413.914,226.156 414.12,226.179 414.325,226.203 414.361,226.207 414.43,226.216 414.506,226.226 414.756,226.263 415.168,226.324 415.273,226.34c0.4,0.067 0.8,0.139 1.199,0.216 2.244,0.435 4.84,-0.632 5.393,-3.063 0.493,-2.168 -0.655,-4.927 -3.063,-5.395 -7.269,-1.408 -14.825,-1.335 -22.163,-0.563C387.852,218.462 379.241,220.356 371.124,223.9 366.926,225.732 363.001,228.134 359.589,231.2c-1.711,1.539 -1.681,4.657 0,6.201 1.827,1.677 4.376,1.64 6.201,-0 0.316,-0.284 0.635,-0.563 0.961,-0.835 0.037,-0.031 0.099,-0.092 0.167,-0.157 0.041,-0.029 0.099,-0.071 0.188,-0.136 0.713,-0.52 1.433,-1.028 2.179,-1.501" android:strokeColor="#00000000"/> 25 <path android:fillColor="#34346e" android:fillType="nonZero" 26 android:pathData="M455.968,286.858C455.959,286.863 456.096,286.716 456.195,286.604 456.118,286.72 456.04,286.82 455.968,286.858m-5.225,2.383c0.139,0.007 0.267,0.016 0.256,0.028 -0.024,0.027 -0.133,0.004 -0.256,-0.028m-0.932,-0.293c0.067,0.031 0.108,0.048 0.161,0.072 -0.079,-0.023 -0.149,-0.049 -0.161,-0.072m9.115,-41.251c-1.189,-5.335 -2.379,-10.669 -3.568,-16.004 0.241,-0.375 0.473,-0.755 0.732,-1.119 0.015,-0.02 0.024,-0.033 0.037,-0.052 0.024,-0.028 0.048,-0.056 0.08,-0.093 0.289,-0.341 0.577,-0.683 0.879,-1.012 1.081,-1.183 2.269,-2.245 3.503,-3.264 0.037,-0.031 0.079,-0.069 0.119,-0.109 0.099,-0.071 0.2,-0.139 0.281,-0.199 0.323,-0.239 0.649,-0.473 0.979,-0.703 0.759,-0.528 1.533,-1.032 2.323,-1.516 1.547,-0.947 3.145,-1.811 4.777,-2.603 0.789,-0.383 1.591,-0.739 2.392,-1.099 0.028,-0.013 0.047,-0.021 0.071,-0.032 0.189,-0.077 0.379,-0.156 0.568,-0.232 0.465,-0.188 0.932,-0.371 1.401,-0.548 1.836,-0.693 3.7,-1.311 5.587,-1.852 1.875,-0.539 3.771,-1.003 5.683,-1.388 0.86,-0.172 1.721,-0.329 2.588,-0.468 0.419,-0.068 0.86,-0.176 1.284,-0.193 -1.24,0.053 0.409,-0.047 0.744,-0.083 1.943,-0.212 3.896,-0.332 5.849,-0.329 0.969,0.001 1.94,0.032 2.907,0.099 0.467,0.033 0.932,0.073 1.397,0.123 0.036,0.004 0.085,0.013 0.128,0.021 0.071,0.003 0.168,0.012 0.323,0.036 0.031,0.001 0.069,0.009 0.096,0.007 -0.003,-0 -0.007,-0 -0.009,-0 2.237,0.312 4.749,-0.607 5.311,-3.069 0.476,-2.092 -0.639,-5.023 -3.063,-5.393C494.274,205.388 486.051,206.324 478.212,208.4 470.402,210.47 462.558,213.723 456.086,218.63c-3.432,2.603 -6.549,5.577 -8.749,9.323 -0.12,0.203 -0.207,0.42 -0.288,0.64 -0.628,0.987 -0.864,2.213 -0.579,3.497 2.105,9.441 5.905,23.969 8.009,33.411 0.527,2.36 1.053,4.72 1.579,7.081C456.288,273.612 456.522,274.642 456.739,275.675 456.858,276.239 456.971,276.804 457.075,277.372 457.114,277.584 457.151,277.798 457.187,278.011 457.212,278.163 457.255,278.431 457.275,278.544 457.392,279.464 457.462,280.394 457.47,281.319 457.474,281.882 457.447,282.44 457.41,283.003 457.408,283.018 457.398,283.103 457.388,283.192 457.348,283.384 457.266,283.843 457.251,283.907 457.142,284.386 456.951,284.847 456.843,285.324 456.834,285.364 456.832,285.38 456.827,285.408 456.762,285.546 456.695,285.68 456.624,285.814 456.55,285.952 456.404,286.262 456.251,286.514 456.232,286.531 456.208,286.55 456.17,286.586 455.979,286.762 455.82,286.984 455.638,287.171c-0.3,0.307 -0.628,0.576 -0.947,0.861 0.809,-0.725 -0.309,0.169 -0.571,0.323 -0.14,0.083 -0.28,0.161 -0.423,0.237 -0.015,0.008 -0.197,0.099 -0.351,0.177 -0.085,0.035 -0.175,0.071 -0.22,0.085 -0.255,0.077 -0.503,0.164 -0.761,0.231 -0.153,0.04 -0.308,0.069 -0.461,0.107 -0.139,0.035 -0.223,0.06 -0.285,0.08 -0.316,-0 -0.736,-0.052 -0.871,-0.052 -0.039,-0 -0.053,-0 -0.084,-0 -0.18,-0.052 -0.371,-0.12 -0.413,-0.129 -0.023,-0.005 -0.087,-0.02 -0.155,-0.037 -0.127,-0.063 -0.251,-0.128 -0.372,-0.2 -2.003,-1.12 -4.879,-0.548 -5.999,1.572 -1.093,2.069 -0.565,4.804 1.572,6 4.172,2.332 9.195,1.879 13.248,-0.499 4.501,-2.639 6.908,-7.007 7.541,-12.091C466.724,278.734 465.248,273.539 464.146,268.598 462.971,263.326 460.1,252.968 458.926,247.696" android:strokeColor="#00000000"/> 27 <path android:fillColor="#34346e" android:fillType="nonZero" 28 android:pathData="m461.96,328.083c0.452,2.516 -6.067,9.681 -8.672,10.515 -11.375,3.641 -21.271,-6.917 -21.253,-7.001l0.493,-0.079c2.632,0.881 13.427,0.092 13.427,0.092 0.641,-0.007 4.533,-0.171 8.725,-1.232C457.768,329.596 461.434,327.748 461.96,328.083m-8.245,-5.921c1.364,-0.011 8.052,1.677 8.097,1.731 -0.696,0.68 -9.883,1.805 -11.356,1.676 -0.031,-0.039 -1.905,0.555 -1.933,0.512 0.423,-0.301 1.931,-3.383 5.192,-3.919M467.694,325.688C467.976,324.864 474.927,317.566 474.975,316.974 475.235,314.07 468.766,318.744 467.575,319.456 465.132,320.923 453.926,317.991 452.2,317.968c-4.739,-0.073 -3.172,3.52 -6.447,4.589 -1.489,0.484 -1.661,-6.707 -10.88,-2.797 -0.924,0.053 -13.557,5.167 -15.101,5.037 -0.775,0.033 -1.553,0.067 -2.331,0.097 -1.385,-0.271 -6.716,0.569 -7.879,0.164 -1.929,-0.673 -9.3,-2.977 -7.451,-1.051 1.693,1.76 4.367,3.137 6.689,4.064 0.919,0.367 4.397,3.068 5.176,4.099 1.684,1.771 3.344,3.717 5.197,5.411 1.336,1.219 17.008,13.101 30.723,8.396C463.462,341.326 464.127,336.108 467.694,325.688" android:strokeColor="#00000000"/> 29 <path android:fillColor="#34346e" android:fillType="nonZero"+ 10 More Occurrences...
VectorPath
Performance
Warning
Priority 5/10
State<T> will autobox values assigned to this state. Use a specialized state type instead.
../../src/main/java/com/ustadmobile/port/android/view/composable/UstadDateField.kt:193:
190 @Composable 191 fun UstadDateFieldPreview(){ 192 var date by remember { 193 mutableStateOf(systemTimeInMillis()) 194 } 195 UstadDateField( 196 value = date,../../src/main/java/com/ustadmobile/port/android/view/composable/UstadEditField.kt:165:
162 @Preview 163 @Composable 164 fun UstadTextEditFieldSuffixPreview() { 165 var maxScore: Int by remember { mutableStateOf(42) } 166 167 UstadTextEditField( 168 value = "42",../../src/main/java/com/ustadmobile/port/android/view/composable/UstadNumberTextField.kt:63:
60 fun UstadNumberTextEditFieldPreview() { 61 62 var aNumber by remember { 63 mutableStateOf(0.toFloat()) 64 } 65 66 Column {../../src/main/java/com/ustadmobile/port/android/view/composable/UstadTimeField.kt:170:
167 fun UstadTimeFieldPreview(){ 168 169 var time: Int by remember { 170 mutableStateOf(10 * MS_PER_HOUR) 171 } 172 173 UstadTimeField(
Vendor: Jetpack Compose
Identifier: androidx.compose.runtime
Feedback: https://issuetracker.google.com/issues/new?component=612128
Identifier: androidx.compose.runtime
Feedback: https://issuetracker.google.com/issues/new?component=612128
AutoboxingStateCreation
Performance
Information
Priority 3/10
Unused resources
../../src/main/res/anim/anim_slide_in_right.xml:2:
1 <?xml version="1.0" encoding="utf-8"?> 2 <set xmlns:android="http://schemas.android.com/apk/res/android" 3 android:shareInterpolator="false" > 4 <translate android:duration="700" android:fromXDelta="100%" android:toXDelta="0%" /> 5 <alpha android:duration="700" android:fromAlpha="0.0" android:toAlpha="1.0" />../../src/main/res/anim/anim_slide_out_left.xml:2:
1 <?xml version="1.0" encoding="utf-8"?> 2 <set xmlns:android="http://schemas.android.com/apk/res/android"> 3 4 <translate android:fromXDelta="0%" android:toXDelta="-100%" 5 android:fromYDelta="0%" android:toYDelta="0%"../../src/main/res/anim/anim_slide_out_right.xml:2:
1 <?xml version="1.0" encoding="utf-8"?> 2 <set xmlns:android="http://schemas.android.com/apk/res/android" 3 android:shareInterpolator="false" > 4 <translate android:duration="300" android:fromXDelta="0%" android:toXDelta="100%"/> 5 <alpha android:duration="300" android:fromAlpha="1.0" android:toAlpha="0.0" />../../src/main/res/values/bools.xml:3:
1 <?xml version="1.0" encoding="utf-8"?> 2 <resources> 3 <bool name="orientation_portrait">false</bool> 4 <bool name="menu_preview_visible">true</bool> 5 <bool name="menu_directionality_visible">true</bool> 6 <bool name="menu_pages_visible">true</bool>../../src/main/res/values/bools.xml:4:
1 <?xml version="1.0" encoding="utf-8"?> 2 <resources> 3 <bool name="orientation_portrait">false</bool> 4 <bool name="menu_preview_visible">true</bool> 5 <bool name="menu_directionality_visible">true</bool> 6 <bool name="menu_pages_visible">true</bool> 7 <bool name="isTablet">true</bool>+ 105 More Occurrences...
UnusedResources
Performance
Warning
Priority 3/10
Included Additional Checks
This card lists all the extra checks run by lint, provided from libraries,
build configuration and extra flags. This is included to help you verify
whether a particular check is included in analysis when configuring builds.
(Note that the list does not include the hundreds of built-in checks into lint,
only additional ones.)
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
2. With a
3. With a //noinspection comment in the source code
4. With ignore flags specified in the
5. With a
6. With a
7. With the --ignore flag passed to lint.
To suppress a lint warning with an annotation, add a
To suppress a lint warning with a comment, add a
To suppress a lint warning in an XML file, add a
To suppress a lint warning in a
Here we specify a comma separated list of issue id's after the disable command. You can also use
To suppress lint warnings with a configuration XML file, create a file named
The format of the
To suppress lint checks from the command line, pass the --ignore flag with a comma separated list of ids to be suppressed, such as:
For more information, see https://developer.android.com/studio/write/lint.html#config
1. With a
@SuppressLint
annotation in the Java code2. With a
tools:ignore
attribute in the XML file3. With a //noinspection comment in the source code
4. With ignore flags specified in the
build.gradle
file, as explained below5. With a
lint.xml
configuration file in the project6. With a
lint.xml
configuration file passed to lint via the --config flag7. 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> <!-- Ignore everything in the test source set --> <issue id="all"> <ignore path="\*/test/\*" /> </issue> <!-- 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" /> <ignore regexp="(foo|bar)\.java" /> </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 https://developer.android.com/studio/write/lint.html#config