Status Update
Comments
tn...@google.com <tn...@google.com>
tn...@google.com <tn...@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.
sh...@pinterest.com <sh...@pinterest.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...
tn...@google.com <tn...@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
sh...@pinterest.com <sh...@pinterest.com> #5
Not doing any post processing. No custom tasks. I will try to verify alignment now. Give me a sec.
Description
DESCRIBE THE ISSUE IN DETAIL:
We are seeing occasional errors on CI in
LintResourceRepository.getOrCreateRepository
. Based on the code and comments, this is a recoverable error, yet it still fails the lint task with aLintError
(and hence fails our builds.) Should it not be aLintWarning
instead? If it's recoverable I'd expect the lint task to be able to continue.I'm also happy to file a separate bug about the errors but we don't have any repro steps, as it happens intermittently, and only on CI.
Version of Gradle Plugin: 7.2.2 Version of Gradle: 7.3.3 Version of Java: openjdk 11.0.12 2021-07-20 OS: MacOS 12.6.1