Status Update
Comments
xa...@google.com <xa...@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.
xa...@google.com <xa...@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...
xa...@google.com <xa...@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
je...@google.com <je...@google.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:
STEPS TO REPRODUCE:
./gradlew lib:androidDependencies --configuration-cache
Version of Gradle Plugin: 7.1.3, 7.2.1, 7.3-beta01 Version of Gradle: 7.4.2 Version of Java: 11 OS: macOS
Copy-pasted from the configuration-cache report produced by Gradle: