Fixed
Status Update
Comments
sh...@google.com <sh...@google.com>
je...@google.com <je...@google.com>
sp...@google.com <sp...@google.com> #2
Okay. I tried a bunch of agp+android studio versions
The last working version was classpath("com.android.tools.build:gradle:7.4.0-alpha06")
once I moved to
classpath("com.android.tools.build:gradle:7.4.0-alpha07")
then things start breaking on firebase app dist.
sp...@google.com <sp...@google.com> #3
Scott, assigning to you as it seem to complain the zip is not aligned while packaging which is very puzzling considering the steps...
au...@google.com <au...@google.com> #4
OP, when you build the APK with AGP, are you doing any post-processing on the APK and/or do you have any custom tasks that are modifying the APK?
Can you try to verify the alignment of your APK with zipalign
locally (zipalign
is included in build-tools
):
zipalign -c -v 4 foo.apk
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