Android use out-of-date .so files
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- build-system, mobile
Research direction
Review the mergeDebugJniLibFolders and mergeReleaseJniLibFolders tasks and the $buildDir/rustJniLibs/android path described in the report. Reproduce the stale .so behavior, then verify that changing those files makes the tasks rerun without relying on the outputs.upToDateWhen workaround or the shown cargoBuild dependency.
Written by the indexing model from the issue text.
Description
mergeDebugJniLibFolders and mergeReleaseJniLibFolders will be treated as up to date, even when the .so files change in "$buildDir/rustJniLibs/android".
Chat GPT say it can be fixed if we add this path as input of the task.
workarround:
tasks.whenTaskAdded {
if (name == "mergeDebugJniLibFolders" || name == "mergeReleaseJniLibFolders") {
outputs.upToDateWhen { false }
dependsOn("cargoBuild")
}
}
- Dominant language
- Kotlin
- Stars
- 1.3k
- Forks
- 95
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla/rust-android-gradle
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mozilla/rust-android-gradle#174 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
mozilla/rust-android-gradle#163 · 2 comments · 2 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
mozilla/rust-android-gradle#158 · 7 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
mozilla/rust-android-gradle#152 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
mozilla/rust-android-gradle#150 ·
All issues in mozilla/rust-android-gradle
Similar issues
-
Source is down
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
keiyoushi/extensions-source#19491 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
MTES-MCT/rapportnav2#1557 ·
Maintainers usually reply within 1 day
-
ready-for-agent
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
emm3000/Just-Chill#543 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
vaadin/intellij-plugin#600 ·
-
accessibility
Difficulty 2/5 1-3 hours Newbie friendliness 65/100