Fixed
Status Update
Comments
sp...@google.com <sp...@google.com> #2
As I understand it, we need to migrate namespace definitions both from AndroidManifest.xml
and from implicit definitions from applicationId
/ testApplicationId
? Is that right? So an 8.0 project would have a
namespace <n>
testNamespace <tn>
where <n> is taken from AndroidManifest.xml
package
definitions if present, and applicationId
if not, and <tn>
is testApplicationId
if present and <n>.test
if not?
am...@google.com <am...@google.com> #3
Sorry for the confusion. AGP would change how it computes the namespace for the androidTest variant. All the Upgrade assistant would need to do is update the source code for the import of the R
class.
Description
This is blocking AndroidX from upgrading to AGP 8.0
To repro,
./gradlew :browser:browser:lintDebug
androidx-main/out/androidx/browser/browser/build/intermediates/incremental/lintAnalyzeDebug/debug.xml