Verified
Status Update
Comments
au...@google.com <au...@google.com> #2
This was broken by 3bca759a5ff08352de831bb1e9b61b1ec2b3362d.
Fix (pending) is I2c2dc7b600603ee430fd0d91b23d52ea8aa29ca9.
Fix (pending) is I2c2dc7b600603ee430fd0d91b23d52ea8aa29ca9.
em...@google.com <em...@google.com>
je...@google.com <je...@google.com>
am...@google.com <am...@google.com> #3
Almost 2 months later and this is still broken
Description
I ran into a problem with a new test module in an AndroidX build. The presubmit failed and I was able to reproduce the error by running this:
$ ./gradlew -Pandroidx.validateNoUnrecognizedMessages --rerun-tasks :graphics:integration-tests:testapp:processDebugMainManifest :graphics:integration-tests:testapp:processReleaseMainManifest
This resulted in the following failure:
There are 2 problems with this as an error message (or warning message, which is effectively the same thing since AndroidX presubmit fails on this warning):
It turned out that the problem was that my module was using the same package name as the library that it was testing, and apparently I needed to use a unique package name (for reasons I don't understand). Once I moved the files into a "test" sub-package and then changed the string in my build.gradle file, it all worked.
The request here is to provide more information in the error message so that I could diagnose and fix this one my own (rather than reaching out to the AndroidX team to help).
In case it helps, here is my CL where you can see the changes before/after the fix:https://android-review.git.corp.google.com/c/platform/frameworks/support/+/2212660