Fixed
Status Update
Comments
ej...@google.com <ej...@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?
ha...@google.com <ha...@google.com>
je...@google.com <je...@google.com>
hu...@google.com <hu...@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.
hu...@google.com <hu...@google.com> #4
OK! And, I think, this should happen at the same time as the namespace
declaration is migrated from AndroidManifest.xml
?
Description
STEPS TO REPRODUCE:
Download UpsideDownCake Preview SDK and emulator image.
Create app with:
Build app, and observe the build error:
Studio Build:
Version of Gradle Plugin: 7.3.1 Version of Gradle: 7.4 Version of Java: 1.8 OS: UpsideDownCake