Fixed
Status Update
Comments
sh...@google.com <sh...@google.com>
je...@google.com <je...@google.com>
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?
sp...@google.com <sp...@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.
au...@google.com <au...@google.com> #4
OK! And, I think, this should happen at the same time as the namespace
declaration is migrated from AndroidManifest.xml
?
Description
In androidx we want to by default to print out stacktraces if Android Lint crashes. The only way to do that today is to set
LINT_PRINT_STACKTRACE=true
, but that sadly requires us to modify./gradlew
to always set it.It would be awesome if AGP provided a gradle property that does this, something like
android.lint.printstacktracesoncrash=true