Fixed
Status Update
Comments
ej...@google.com <ej...@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.
ha...@google.com <ha...@google.com>
je...@google.com <je...@google.com>
hu...@google.com <hu...@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...
hu...@google.com <hu...@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
STEPS TO REPRODUCE:
Download UpsideDownCake Preview SDK and emulator image.
Create app with:
Build app, and observe the build error:
Studio Build:
Version of Gradle Plugin: 7.3.1 Version of Gradle: 7.4 Version of Java: 1.8 OS: UpsideDownCake