Files
2026-08-22 20:34:42 +02:00

281 lines
18 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.7.3">
<issue
id="OldTargetApi"
severity="Warning"
message="Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the `android.os.Build.VERSION_CODES` javadoc for details."
category="Correctness"
priority="6"
summary="Target SDK attribute is not targeting latest version"
explanation="When your application runs on a version of Android that is more recent than your `targetSdkVersion` specifies that it has been tested with, various compatibility modes kick in. This ensures that your application continues to work, but it may look out of place. For example, if the `targetSdkVersion` is less than 14, your app may get an option button in the UI.&#xA;&#xA;To fix this issue, set the `targetSdkVersion` to the highest available value. Then test your app to make sure everything works correctly. You may want to consult the compatibility notes to see what changes apply to each version you are adding support for: https://developer.android.com/reference/android/os/Build.VERSION_CODES.html as well as follow this guide:&#xA;https://developer.android.com/distribute/best-practices/develop/target-sdk.html"
url="https://developer.android.com/distribute/best-practices/develop/target-sdk.html"
urls="https://developer.android.com/distribute/best-practices/develop/target-sdk.html,https://developer.android.com/reference/android/os/Build.VERSION_CODES.html"
errorLine1=" targetSdk = 35"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/build.gradle.kts"
line="13"
column="9"/>
</issue>
<issue
id="GradleDependency"
severity="Warning"
message="A newer version of androidx.core:core-ktx than 1.13.1 is available: 1.19.0"
category="Correctness"
priority="4"
summary="Obsolete Gradle Dependency"
explanation="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."
errorLine1=" implementation(&quot;androidx.core:core-ktx:1.13.1&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/build.gradle.kts"
line="49"
column="20"/>
</issue>
<issue
id="GradleDependency"
severity="Warning"
message="A newer version of androidx.appcompat:appcompat than 1.7.0 is available: 1.8.0"
category="Correctness"
priority="4"
summary="Obsolete Gradle Dependency"
explanation="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."
errorLine1=" implementation(&quot;androidx.appcompat:appcompat:1.7.0&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/build.gradle.kts"
line="50"
column="20"/>
</issue>
<issue
id="GradleDependency"
severity="Warning"
message="A newer version of com.google.android.material:material than 1.12.0 is available: 1.14.0"
category="Correctness"
priority="4"
summary="Obsolete Gradle Dependency"
explanation="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."
errorLine1=" implementation(&quot;com.google.android.material:material:1.12.0&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/build.gradle.kts"
line="51"
column="20"/>
</issue>
<issue
id="GradleDependency"
severity="Warning"
message="A newer version of androidx.constraintlayout:constraintlayout than 2.1.4 is available: 2.2.2"
category="Correctness"
priority="4"
summary="Obsolete Gradle Dependency"
explanation="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."
errorLine1=" implementation(&quot;androidx.constraintlayout:constraintlayout:2.1.4&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/build.gradle.kts"
line="52"
column="20"/>
</issue>
<issue
id="GradleDependency"
severity="Warning"
message="A newer version of androidx.lifecycle:lifecycle-runtime-ktx than 2.8.7 is available: 2.11.0"
category="Correctness"
priority="4"
summary="Obsolete Gradle Dependency"
explanation="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."
errorLine1=" implementation(&quot;androidx.lifecycle:lifecycle-runtime-ktx:2.8.7&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/build.gradle.kts"
line="53"
column="20"/>
</issue>
<issue
id="ObsoleteSdkInt"
severity="Warning"
message="Unnecessary; SDK_INT is always >= 24"
category="Performance"
priority="6"
summary="Obsolete SDK_INT Version Check"
explanation="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.&#xA;&#xA;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."
errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/src/main/java/de/duffy/screencast/CastService.kt"
line="255"
column="13"/>
</issue>
<issue
id="ObsoleteSdkInt"
severity="Warning"
message="Unnecessary; SDK_INT is never &lt; 24"
category="Performance"
priority="6"
summary="Obsolete SDK_INT Version Check"
explanation="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.&#xA;&#xA;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."
errorLine1=" if (Build.VERSION.SDK_INT &lt; Build.VERSION_CODES.M) return null"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/src/main/java/de/duffy/screencast/NetworkUtil.kt"
line="20"
column="13"/>
</issue>
<issue
id="ObsoleteSdkInt"
severity="Warning"
message="Unnecessary; SDK_INT is always >= 24"
category="Performance"
priority="6"
summary="Obsolete SDK_INT Version Check"
explanation="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.&#xA;&#xA;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."
errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/src/main/java/de/duffy/screencast/NetworkUtil.kt"
line="47"
column="13"/>
</issue>
<issue
id="ObsoleteSdkInt"
severity="Warning"
message="Unnecessary; SDK_INT is always >= 24"
category="Performance"
priority="6"
summary="Obsolete SDK_INT Version Check"
explanation="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.&#xA;&#xA;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."
errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/src/main/java/de/duffy/screencast/ScreenEncoder.kt"
line="72"
column="17"/>
</issue>
<issue
id="UnusedResources"
severity="Warning"
message="The resource `R.string.connect_browser` appears to be unused"
category="Performance"
priority="3"
summary="Unused resources"
explanation="Unused resources make applications larger and slow down builds.&#xA;&#xA;&#xA;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.&#xA;&#xA;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.&#xA;,"
errorLine1=" &lt;string name=&quot;connect_browser&quot;>Über Browser-Adresse&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/src/main/res/values/strings.xml"
line="26"
column="13"/>
</issue>
<issue
id="SetTextI18n"
severity="Warning"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
category="Internationalization"
priority="6"
summary="TextView Internationalization"
explanation="When calling `TextView#setText`&#xA;* Never call `Number#toString()` to format numbers; it will not handle fraction separators and locale-specific digits properly. Consider using `String#format` with proper format specifications (`%d` or `%f`) instead.&#xA;* Do not pass a string literal (e.g. &quot;Hello&quot;) to display text. Hardcoded text can not be properly translated to other languages. Consider using Android resource strings instead.&#xA;* Do not build messages by concatenating text chunks. Such messages can not be properly translated."
url="https://developer.android.com/guide/topics/resources/localization.html"
urls="https://developer.android.com/guide/topics/resources/localization.html"
errorLine1=" button.text = &quot;$title\n$subtitle&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/src/main/java/de/duffy/screencast/DeviceActivity.kt"
line="179"
column="23"/>
</issue>
<issue
id="HardcodedText"
severity="Warning"
message="Hardcoded string &quot;Sparsam&quot;, should use `@string` resource"
category="Internationalization"
priority="5"
summary="Hardcoded text"
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:&#xA;&#xA;* When creating configuration variations (for example for landscape or portrait) you have to repeat the actual text (and keep it up to date when making changes)&#xA;&#xA;* The application cannot be translated to other languages by just adding new translations for existing string resources.&#xA;&#xA;There are quickfixes to automatically extract this hardcoded string into a resource lookup."
errorLine1=" android:text=&quot;Sparsam&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/src/main/res/layout/activity_main.xml"
line="175"
column="21"/>
</issue>
<issue
id="HardcodedText"
severity="Warning"
message="Hardcoded string &quot;Ausgewogen&quot;, should use `@string` resource"
category="Internationalization"
priority="5"
summary="Hardcoded text"
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:&#xA;&#xA;* When creating configuration variations (for example for landscape or portrait) you have to repeat the actual text (and keep it up to date when making changes)&#xA;&#xA;* The application cannot be translated to other languages by just adding new translations for existing string resources.&#xA;&#xA;There are quickfixes to automatically extract this hardcoded string into a resource lookup."
errorLine1=" android:text=&quot;Ausgewogen&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/src/main/res/layout/activity_main.xml"
line="183"
column="21"/>
</issue>
<issue
id="HardcodedText"
severity="Warning"
message="Hardcoded string &quot;Scharf&quot;, should use `@string` resource"
category="Internationalization"
priority="5"
summary="Hardcoded text"
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:&#xA;&#xA;* When creating configuration variations (for example for landscape or portrait) you have to repeat the actual text (and keep it up to date when making changes)&#xA;&#xA;* The application cannot be translated to other languages by just adding new translations for existing string resources.&#xA;&#xA;There are quickfixes to automatically extract this hardcoded string into a resource lookup."
errorLine1=" android:text=&quot;Scharf&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/src/main/res/layout/activity_main.xml"
line="190"
column="21"/>
</issue>
<issue
id="HardcodedText"
severity="Warning"
message="Hardcoded string &quot;30 fps&quot;, should use `@string` resource"
category="Internationalization"
priority="5"
summary="Hardcoded text"
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:&#xA;&#xA;* When creating configuration variations (for example for landscape or portrait) you have to repeat the actual text (and keep it up to date when making changes)&#xA;&#xA;* The application cannot be translated to other languages by just adding new translations for existing string resources.&#xA;&#xA;There are quickfixes to automatically extract this hardcoded string into a resource lookup."
errorLine1=" android:text=&quot;30 fps&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/src/main/res/layout/activity_main.xml"
line="214"
column="21"/>
</issue>
<issue
id="HardcodedText"
severity="Warning"
message="Hardcoded string &quot;60 fps&quot;, should use `@string` resource"
category="Internationalization"
priority="5"
summary="Hardcoded text"
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:&#xA;&#xA;* When creating configuration variations (for example for landscape or portrait) you have to repeat the actual text (and keep it up to date when making changes)&#xA;&#xA;* The application cannot be translated to other languages by just adding new translations for existing string resources.&#xA;&#xA;There are quickfixes to automatically extract this hardcoded string into a resource lookup."
errorLine1=" android:text=&quot;60 fps&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="/home/duffy/Dokumente/programmierung/android-smartscreen-cast/app/src/main/res/layout/activity_main.xml"
line="221"
column="21"/>
</issue>
</issues>