Fixed
Status Update
Comments
sh...@google.com <sh...@google.com>
je...@google.com <je...@google.com>
sp...@google.com <sp...@google.com> #2
Thanks for the report. Would it be possible for you to share a zip dump of the inputs to R8, including the app's class files, keep rules, etc.? This should enable us to reproduce the build.
You can generate this by running:
./gradlew assembleRelease --no-daemon -Dcom.android.tools.r8.dumpinputtodirectory=/path/to/r8/dumps
See also
sp...@google.com <sp...@google.com> #3
Hi, thanks for response, here they are
au...@google.com <au...@google.com> #4
Thanks for sharing. Looking at the code from the dump it is not immediately clear why this would fail with a NullPointerException. Would it be possible for you to also share the APK that is not working?
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