lint-results.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <issues format="5" by="lint 4.1.3">
  3. <issue
  4. id="ObsoleteLintCustomCheck"
  5. severity="Warning"
  6. message="Lint found an issue registry (`androidx.fragment.lint.FragmentIssueRegistry`) which is older than the current API level; these checks may not work correctly.&#xA;&#xA;Recompile the checks against the latest version. Custom check API version is 6 (3.6), current lint API level is 8 (4.1+)"
  7. category="Lint"
  8. priority="10"
  9. summary="Obsolete custom lint check"
  10. explanation="Lint can be extended with &quot;custom checks&quot;: additional checks implemented by developers and libraries to for example enforce specific API usages required by a library or a company coding style guideline.&#xA;&#xA;The Lint APIs are not yet stable, so these checks may either cause a performance degradation, or stop working, or provide wrong results.&#xA;&#xA;This warning flags custom lint checks that are found to be using obsolete APIs and will need to be updated to run in the current lint environment.&#xA;&#xA;It may also flag issues found to be using a **newer** version of the API, meaning that you need to use a newer version of lint (or Android Studio or Gradle plugin etc) to work with these checks."
  11. includedVariants="debug"
  12. excludedVariants="release">
  13. <location
  14. file="C:\Users\candy\.gradle\caches\transforms-2\files-2.1\3d70d0f404d7ba632c4d594a274e61c0\fragment-1.2.0\jars\lint.jar"/>
  15. </issue>
  16. <issue
  17. id="PrivateApi"
  18. severity="Warning"
  19. message="Accessing internal APIs via reflection is not supported and may not work on all devices or in the future"
  20. category="Correctness"
  21. priority="6"
  22. summary="Using Private APIs"
  23. explanation="Using reflection to access hidden/private Android APIs is not safe; it will often not work on devices from other vendors, and it may suddenly stop working (if the API is removed) or crash spectacularly (if the API behavior changes, since there are no guarantees for compatibility)."
  24. url="https://developer.android.com/preview/restrictions-non-sdk-interfaces"
  25. urls="https://developer.android.com/preview/restrictions-non-sdk-interfaces"
  26. errorLine1=" val clazz = Class.forName(&quot;android.app.ActivityThread&quot;)"
  27. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  28. <location
  29. file="F:\Work_Space\Wechat_workSpace\duoduan_reader_test\chajian\android\plugin\src\main\java\com\donut\wxf1a06dafa3350688\PluginManager.kt"
  30. line="51"
  31. column="25"/>
  32. </issue>
  33. <issue
  34. id="GradleDependency"
  35. severity="Warning"
  36. message="A newer version of androidx.exifinterface:exifinterface than 1.1.0 is available: 1.2.0"
  37. category="Correctness"
  38. priority="4"
  39. summary="Obsolete Gradle Dependency"
  40. 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."
  41. errorLine1=" implementation &quot;androidx.exifinterface:exifinterface:1.1.0&quot;"
  42. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  43. <location
  44. file="F:\Work_Space\Wechat_workSpace\duoduan_reader_test\chajian\android\plugin\build.gradle"
  45. line="68"
  46. column="5"/>
  47. </issue>
  48. <issue
  49. id="GradleDependency"
  50. severity="Warning"
  51. message="A newer version of org.jetbrains.kotlin:kotlin-stdlib-jdk7 than 1.3.72 is available: 1.7.20"
  52. category="Correctness"
  53. priority="4"
  54. summary="Obsolete Gradle Dependency"
  55. 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."
  56. errorLine1=" implementation &quot;org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version&quot;"
  57. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  58. <location
  59. file="F:\Work_Space\Wechat_workSpace\duoduan_reader_test\chajian\android\plugin\build.gradle"
  60. line="70"
  61. column="5"/>
  62. </issue>
  63. <issue
  64. id="GradleDependency"
  65. severity="Warning"
  66. message="A newer version of org.jetbrains.kotlin:kotlin-stdlib than 1.3.72 is available: 1.7.20"
  67. category="Correctness"
  68. priority="4"
  69. summary="Obsolete Gradle Dependency"
  70. 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."
  71. errorLine1=" implementation &quot;org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version&quot;"
  72. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  73. <location
  74. file="F:\Work_Space\Wechat_workSpace\duoduan_reader_test\chajian\android\plugin\build.gradle"
  75. line="71"
  76. column="5"/>
  77. </issue>
  78. <issue
  79. id="GradleDependency"
  80. severity="Warning"
  81. message="A newer version of androidx.constraintlayout:constraintlayout than 1.1.3 is available: 2.1.3"
  82. category="Correctness"
  83. priority="4"
  84. summary="Obsolete Gradle Dependency"
  85. 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."
  86. errorLine1=" api &quot;androidx.constraintlayout:constraintlayout:1.1.3&quot;"
  87. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  88. <location
  89. file="F:\Work_Space\Wechat_workSpace\duoduan_reader_test\chajian\android\plugin\build.gradle"
  90. line="73"
  91. column="5"/>
  92. </issue>
  93. <issue
  94. id="GradleDependency"
  95. severity="Warning"
  96. message="A newer version of com.google.android.material:material than 1.0.0 is available: 1.5.0"
  97. category="Correctness"
  98. priority="4"
  99. summary="Obsolete Gradle Dependency"
  100. 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."
  101. errorLine1=" api &apos;com.google.android.material:material:1.0.0&apos;"
  102. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  103. <location
  104. file="F:\Work_Space\Wechat_workSpace\duoduan_reader_test\chajian\android\plugin\build.gradle"
  105. line="75"
  106. column="5"/>
  107. </issue>
  108. <issue
  109. id="HardwareIds"
  110. severity="Warning"
  111. message="Using `getString` to get device identifiers is not recommended"
  112. category="Security"
  113. priority="6"
  114. summary="Hardware Id Usage"
  115. explanation="Using these device identifiers is not recommended other than for high value fraud prevention and advanced telephony use-cases. For advertising use-cases, use `AdvertisingIdClient$Info#getId` and for analytics, use `InstanceId#getId`."
  116. url="https://developer.android.com/training/articles/user-data-ids.html"
  117. urls="https://developer.android.com/training/articles/user-data-ids.html"
  118. errorLine1=" final String androidId = Settings.Secure.getString("
  119. errorLine2=" ^">
  120. <location
  121. file="F:\Work_Space\Wechat_workSpace\duoduan_reader_test\chajian\android\plugin\src\main\java\com\donut\plugin\util\DeviceUuidFactory.java"
  122. line="22"
  123. column="50"/>
  124. </issue>
  125. <issue
  126. id="HardwareIds"
  127. severity="Warning"
  128. message="Using `getDeviceId` to get device identifiers is not recommended"
  129. category="Security"
  130. priority="6"
  131. summary="Hardware Id Usage"
  132. explanation="Using these device identifiers is not recommended other than for high value fraud prevention and advanced telephony use-cases. For advertising use-cases, use `AdvertisingIdClient$Info#getId` and for analytics, use `InstanceId#getId`."
  133. url="https://developer.android.com/training/articles/user-data-ids.html"
  134. urls="https://developer.android.com/training/articles/user-data-ids.html"
  135. errorLine1=" @SuppressLint(&quot;MissingPermission&quot;) final String deviceId = ((TelephonyManager) context"
  136. errorLine2=" ^">
  137. <location
  138. file="F:\Work_Space\Wechat_workSpace\duoduan_reader_test\chajian\android\plugin\src\main\java\com\donut\plugin\util\DeviceUuidFactory.java"
  139. line="27"
  140. column="88"/>
  141. </issue>
  142. <issue
  143. id="TrustAllX509TrustManager"
  144. severity="Warning"
  145. message="`checkClientTrusted` is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers"
  146. category="Security"
  147. priority="6"
  148. summary="Insecure TLS/SSL trust manager"
  149. explanation="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.">
  150. <location
  151. file="C:\Users\candy\.gradle\daemon\6.7.1\com\lenovo\lps\reaper\sdk\h\a.class"/>
  152. </issue>
  153. <issue
  154. id="TrustAllX509TrustManager"
  155. severity="Warning"
  156. message="`checkClientTrusted` is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers"
  157. category="Security"
  158. priority="6"
  159. summary="Insecure TLS/SSL trust manager"
  160. explanation="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.">
  161. <location
  162. file="C:\Users\candy\.gradle\daemon\6.7.1\a\a\a\h\r$b.class"/>
  163. </issue>
  164. <issue
  165. id="StaticFieldLeak"
  166. severity="Warning"
  167. message="Do not place Android context classes in static fields; this is a memory leak"
  168. category="Performance"
  169. priority="6"
  170. summary="Static Field Leaks"
  171. explanation="A static field will leak contexts.&#xA;&#xA;Non-static inner classes have an implicit reference to their outer class. If that outer class is for example a `Fragment` or `Activity`, then this reference means that the long-running handler/loader/task will hold a reference to the activity which prevents it from getting garbage collected.&#xA;&#xA;Similarly, direct field references to activities and fragments from these longer running instances can cause leaks.&#xA;&#xA;ViewModel classes should never point to Views or non-application Contexts."
  172. errorLine1=" lateinit var mTopActivity: Activity"
  173. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  174. <location
  175. file="F:\Work_Space\Wechat_workSpace\duoduan_reader_test\chajian\android\plugin\src\main\java\com\donut\plugin\util\BaseConsts.kt"
  176. line="12"
  177. column="9"/>
  178. </issue>
  179. </issues>