Fixed
Status Update
Comments
au...@google.com <au...@google.com> #3
It looks like it could be ag/18440844/
ma...@google.com <ma...@google.com>
gh...@google.com <gh...@google.com> #4
I guess the problem is near these lines:
val evaluator = project.client.getUastParser(project).evaluator
val manifest = evaluator.findClass("android.Manifest.permission")
I think the problem is that the UAST environment is not really available during the checkMergedProject
callback.
These lines do not seem to have test coverage, but you can induce a similar exception more easily by adding the following line at the top of PermissionErrorDetector.checkMergedProject
:
context.project.client.getUastParser(context.project).evaluator.findClass("some.class")
and then running PermissionErrorDetectorTest
.
ma...@google.com <ma...@google.com>
au...@google.com <au...@google.com> #7
Which version of AGP should the fix come out in?
js...@google.com <js...@google.com> #8
According to go/as-calendar, it's likely AGP 7.4 canary 8 (ETA next Wednesday)
Description
We no longer have empty kotlin files, so it is not b/233355652