Skip to content

Fix building issues by Gradle lint#362

Closed
JingMatrix wants to merge 0 commit intomasterfrom
gradle-lint
Closed

Fix building issues by Gradle lint#362
JingMatrix wants to merge 0 commit intomasterfrom
gradle-lint

Conversation

@JingMatrix
Copy link
Copy Markdown
Owner

Gradle 8.14 introduces some new syntax requirements, which incur, for example, the following warning: 'task(String, noinline type.() -> Unit): type' is deprecated. Use tasks.register instead

There are still some other fixes to be done, according to the Gradle lint report. To see the report, run gradle :app:lintDebug.

@JingMatrix
Copy link
Copy Markdown
Owner Author

Currently, I see the following error, to be fixed:

  /home/jing/Documents/Project/LSPatch/core/app/src/main/AndroidManifest.xml:61: Error: Class referenced in the manifest, androidx.startup.InitializationProvider, was not found in the project or the libraries [MissingClass]
              android:name="androidx.startup.InitializationProvider"
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
     Explanation for issues of type "MissingClass":
     If a class is referenced in the manifest or in a layout file, it must also
     exist in the project (or in one of the libraries included by the project.
     This check helps uncover typos in registration names, or attempts to rename
     or move classes without updating the XML references properly.
  
     https://developer.android.com/guide/topics/manifest/manifest-intro.html

@bocchi810 bocchi810 marked this pull request as ready for review July 17, 2025 06:11
@JingMatrix JingMatrix marked this pull request as draft July 17, 2025 06:47
@JingMatrix
Copy link
Copy Markdown
Owner Author

Why do you add translatable="false"? They are tranlatable, via the Crodwin project.

@bocchi810
Copy link
Copy Markdown

Why do you add translatable="false"? They are tranlatable, via the Crodwin project.

Because of this error, so I add translatable="false"

  D:\LSPosed\app\src\main\res\values\strings.xml:57: Error: "developer_warning_title" is not translated in "hi" (Hindi), "no" (Norwegian), "fi" (Finnish), "bg" (Bulgarian), "lt" (Lithuanian), "hr" (Croatian), "bn" (Bangla), "hu"
 (Hungarian), "si" (Sinhala), "sk" (Slovak), "ur" (Urdu), "ca" (Catalan), "sv" (Swedish), "af" (Afrikaans), "el" (Greek), "ku" (Kurdish), "iw" (Hebrew), "et" (Estonian), "cs" (Czech), "th" (Thai), "fa" (Persian), "da" (Danish), "nl" (Dutch) [MissingTranslation]
      <string name="developer_warning_title">Tips for module developer</string>
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@JingMatrix
Copy link
Copy Markdown
Owner Author

This is a warning, can be ignored for now, as people in the community will finally help to translate then in Crodwin.

@sajjantimalsina123
Copy link
Copy Markdown

Core

@JingMatrix JingMatrix deleted the gradle-lint branch January 25, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants