Fixed
Status Update
Comments
dy...@google.com <dy...@google.com>
ba...@google.com <ba...@google.com>
ba...@google.com <ba...@google.com>
bl...@google.com <bl...@google.com>
bl...@google.com <bl...@google.com>
ga...@linecorp.com <ga...@linecorp.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?
bl...@google.com <bl...@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.
ga...@linecorp.com <ga...@linecorp.com> #4
OK! And, I think, this should happen at the same time as the namespace
declaration is migrated from AndroidManifest.xml
?
Description
DESCRIBE THE ISSUE IN DETAIL: behavior change of resource compiler on my app.
I'm trying to update minSdk to 26,
and want to fix issues related with
For java source codes, lint checker raise ResourceType error,
but for kotlin source codes, lint checker did not raise any error.
STEPS TO REPRODUCE:
ATTACH SCREENSHOTS/RECORDINGS OF THE ISSUE
ATTACH LOG FILES (Select Help > Show Log in Files, or Show Log in Finder on a Mac)
IMPORTANT: Please readhttps://developer.android.com/studio/report-bugs.html carefully and supply
all required information.
Studio Build: Any
Version of Gradle Plugin: 7.2.2 or 7.3.0
Version of Gradle: 7.5
Version of Java: OpenJDK 11 / 17
OS: Any