/home/jenkins/.jenkins/workspace/Meshrabiya/test-app/src/main/AndroidManifest.xml:35: Warning: Attribute usesPermissionFlags is only used in API level 31 and higher (current min is 26) [UnusedAttribute] android:usesPermissionFlags="neverForLocation" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Explanation for issues of type "UnusedAttribute": This check finds attributes set in XML files that were introduced in a version newer than the oldest version targeted by your application (with the minSdkVersion attribute). This is not an error; the application will simply ignore the attribute. However, if the attribute is important to the appearance or functionality of your application, you should consider finding an alternative way to achieve the same result with only available attributes, and then you can optionally create a copy of the layout in a layout-vNN folder which will be used on API NN or higher where you can take advantage of the newer attribute. Note: This check does not only apply to attributes. For example, some tags can be unused too, such as the new element in layouts introduced in API 21. /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/src/main/AndroidManifest.xml:72: Warning: Redundant label can be removed [RedundantLabel] android:label="@string/app_name" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Explanation for issues of type "RedundantLabel": When an activity does not have a label attribute, it will use the one from the application tag. Since the application has already specified the same label, the label on this activity can be omitted. /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/build.gradle:67: Warning: A newer version of androidx.navigation:navigation-compose than 2.5.3 is available: 2.7.5 [GradleDependency] implementation "androidx.navigation:navigation-compose:$version_navigation" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/build.gradle:71: Warning: A newer version of com.squareup.okhttp3:okhttp than 4.10.0 is available: 4.11.0 [GradleDependency] implementation "com.squareup.okhttp3:okhttp:$version_okhttp" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/build.gradle:79: Warning: A newer version of androidx.core:core than 1.11.0-beta02 is available: 1.13.0-alpha01 [GradleDependency] implementation "androidx.core:core:$version_androidx_core" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/build.gradle:80: Warning: A newer version of androidx.core:core-ktx than 1.11.0-beta02 is available: 1.13.0-alpha01 [GradleDependency] implementation "androidx.core:core-ktx:$version_androidx_core" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/build.gradle:81: Warning: A newer version of androidx.lifecycle:lifecycle-runtime-ktx than 2.6.1 is available: 2.6.2 [GradleDependency] implementation "androidx.lifecycle:lifecycle-runtime-ktx:$version_android_lifecycle" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/build.gradle:82: Warning: A newer version of androidx.activity:activity-compose than 1.7.2 is available: 1.8.0 [GradleDependency] implementation "androidx.activity:activity-compose:$version_android_activity" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/build.gradle:105: Warning: A newer version of org.mockito:mockito-android than 5.1.1 is available: 5.5.0 [GradleDependency] androidTestImplementation "org.mockito:mockito-android:$version_android_mockito" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/build.gradle:106: Warning: A newer version of org.mockito.kotlin:mockito-kotlin than 4.1.0 is available: 5.1.0 [GradleDependency] androidTestImplementation "org.mockito.kotlin:mockito-kotlin:$version_kotlin_mockito" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Explanation for issues of type "GradleDependency": This detector looks for usages of libraries where the version you are using is not the current stable release. Using older versions is fine, and there are cases where you deliberately want to stick with an older version. However, you may simply not be aware that a more recent version is available, and that is what this lint check helps find. /home/jenkins/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcpkix-jdk18on/1.75/5adfef8a71a0933454739264b56283cc73dd2383/bcpkix-jdk18on-1.75.jar: Warning: checkServerTrusted is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers [TrustAllX509TrustManager] /home/jenkins/.gradle/caches/modules-2/files-2.1/com.athaydes.rawhttp/rawhttp-core/2.5.2/cbd0e0de9c307aeb5b1931221e70599c064fa20a/rawhttp-core-2.5.2.jar: Warning: checkClientTrusted is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers [TrustAllX509TrustManager] /home/jenkins/.gradle/caches/modules-2/files-2.1/com.athaydes.rawhttp/rawhttp-core/2.5.2/cbd0e0de9c307aeb5b1931221e70599c064fa20a/rawhttp-core-2.5.2.jar: Warning: checkServerTrusted is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers [TrustAllX509TrustManager] Explanation for issues of type "TrustAllX509TrustManager": This check looks for X509TrustManager implementations whose checkServerTrusted or checkClientTrusted methods do nothing (thus trusting any certificate chain) which could result in insecure network traffic caused by trusting arbitrary TLS/SSL certificates presented by peers. https://goo.gle/TrustAllX509TrustManager /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/src/main/java/com/ustadmobile/meshrabiya/testapp/server/TestAppServer.kt:132: Warning: This InputStream should be freed up after use with #close() [Recycle] val contentIn = appContext.contentResolver.openInputStream(outgoingXfer.uri)?.let { ~~~~~~~~~~~~~~~ Explanation for issues of type "Recycle": Many resources, such as TypedArrays, VelocityTrackers, etc., should be recycled (with a recycle() call) after use. This lint check looks for missing recycle() calls. /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/src/main/res/drawable-v24: Warning: This folder configuration (v24) is unnecessary; minSdkVersion is 26. Merge all the resources in this folder into drawable. [ObsoleteSdkInt] /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/src/main/res/mipmap-anydpi-v26: Warning: This folder configuration (v26) is unnecessary; minSdkVersion is 26. Merge all the resources in this folder into mipmap-anydpi. [ObsoleteSdkInt] Explanation for issues of type "ObsoleteSdkInt": This check flags version checks that are not necessary, because the minSdkVersion (or surrounding known API level) is already at least as high as the version checked for. Similarly, it also looks for resources in -vNN folders, such as values-v14 where the version qualifier is less than or equal to the minSdkVersion, where the contents should be merged into the best folder. /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/src/main/res/values/colors.xml:3: Warning: The resource R.color.purple_200 appears to be unused [UnusedResources] #FFBB86FC ~~~~~~~~~~~~~~~~~ /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/src/main/res/values/colors.xml:4: Warning: The resource R.color.purple_500 appears to be unused [UnusedResources] #FF6200EE ~~~~~~~~~~~~~~~~~ /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/src/main/res/values/colors.xml:5: Warning: The resource R.color.purple_700 appears to be unused [UnusedResources] #FF3700B3 ~~~~~~~~~~~~~~~~~ /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/src/main/res/values/colors.xml:6: Warning: The resource R.color.teal_200 appears to be unused [UnusedResources] #FF03DAC5 ~~~~~~~~~~~~~~~ /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/src/main/res/values/colors.xml:7: Warning: The resource R.color.teal_700 appears to be unused [UnusedResources] #FF018786 ~~~~~~~~~~~~~~~ /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/src/main/res/values/colors.xml:8: Warning: The resource R.color.black appears to be unused [UnusedResources] #FF000000 ~~~~~~~~~~~~ /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/src/main/res/values/colors.xml:9: Warning: The resource R.color.white appears to be unused [UnusedResources] #FFFFFFFF ~~~~~~~~~~~~ Explanation for issues of type "UnusedResources": Unused resources make applications larger and slow down builds. The unused resource check can ignore tests. If you want to include resources that are only referenced from tests, consider packaging them in a test source set instead. You can include test sources in the unused resource check by setting the system property lint.unused-resources.include-tests =true, and to exclude them (usually for performance reasons), use lint.unused-resources.exclude-tests =true. , /home/jenkins/.jenkins/workspace/Meshrabiya/test-app/build.gradle:79: Information: Add suffix -ktx to enable the Kotlin extensions for this library [KtxExtensionAvailable] implementation "androidx.core:core:$version_androidx_core" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Explanation for issues of type "KtxExtensionAvailable": Android KTX extensions augment some libraries with support for modern Kotlin language features like extension functions, extension properties, lambdas, named parameters, coroutines, and more. In Kotlin projects, use the KTX version of a library by replacing the dependency in your build.gradle file. For example, you can replace androidx.fragment:fragment with androidx.fragment:fragment-ktx. https://developer.android.com/kotlin/ktx 0 errors, 23 warnings