Use sdkComponents.aapt2 API for executable path #1942
+6
−17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What I have done and why
buildToolsVersion
.componentsExtension.sdkComponents.aapt2
.https://issuetracker.google.com/issues/376815836?pli=1
Update)
There are some issues with AGP 8.11.0 and Lint.
This issue can be temporarily resolved by ignoring the relevant section, but I don't think it's a fundamental solution.
https://issuetracker.google.com/issues/430991549
I checked the release notes for AGP 8.12.0, but this issue was not in fixed Issues list.
https://developer.android.com/build/releases/gradle-plugin
Since the issue was marked as new on July 30, it seems it has not been fixed yet.
Therefore, I downgraded the AGP version 8.11.1 to 8.10.1, which does not have this crash.
I wanted to resolve this while staying on the latest possible version, but this seems to be beyond my control.
I modified it to a stable version and successfully performed the GitHub Actions build through it.
Once a future release (e.g., 8.13.0 or later) includes a fix for this issue, we can safely upgrade again.