Status Update
Comments
ch...@google.com <ch...@google.com>
ch...@google.com <ch...@google.com> #2
Fix (pending) is I2c2dc7b600603ee430fd0d91b23d52ea8aa29ca9.
br...@snapchat.com <br...@snapchat.com> #3
ch...@google.com <ch...@google.com> #4
#sdkmanager --package_file=${PATH_WORKSPACE}/packages
while read p; do echo "y" | sdkmanager "${p}"; done <${PATH_WORKSPACE}/packages
br...@snapchat.com <br...@snapchat.com> #5
ap...@google.com <ap...@google.com> #6
ch...@google.com <ch...@google.com> #7
br...@snapchat.com <br...@snapchat.com> #8
ch...@google.com <ch...@google.com> #9
ap...@google.com <ap...@google.com> #10
```
(15:58:11) C02W513SHTD8:files aso$ /opt/android-sdk-macosx/tools/bin/sdkmanager --version
26.1.1
(15:58:17) C02W513SHTD8:files aso$ /opt/android-sdk-macosx/tools/bin/sdkmanager --install --package_file=package_file
Warning: Unknown argument --package_file=package_file
```
ap...@google.com <ap...@google.com> #11
ap...@google.com <ap...@google.com> #12
ap...@google.com <ap...@google.com> #13
ap...@google.com <ap...@google.com> #14
ap...@google.com <ap...@google.com> #15
ap...@google.com <ap...@google.com> #16
Has anyone re-tried it?
We switched back to RUN sdkmanager --package_file=$ANDROID_HOME/packages.txt
in our Dockerfile back in March of 2021.
ap...@google.com <ap...@google.com> #17
For what it's worth, I did a quick test with the latest CLI: 11076708 (
./sdkmanager --sdk_root="../sdk" --package_file=deps.txt
Deps.txt:
platform-tools
extras;google;instantapps
build-tools;35.0.0-rc3
So perhaps this is now resolved? I haven't tried it with more packages
ap...@google.com <ap...@google.com> #18
Branch: 8.7
commit 73275aa55540c922bdbafdd17d06faaf3849b5d0
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Thu Sep 26 11:01:27 2024
Version 8.7.16
Bug:
Change-Id: Ib3a599336cc39331d38f22960c451f42916d0ccf
M src/main/java/com/android/tools/r8/Version.java
ch...@google.com <ch...@google.com> #19
Verified that ScImageRenderer.getName
no longer throws with 8.6.31.
an...@google.com <an...@google.com> #20
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Ladybug | 2024.2.1 Patch 2
- Android Gradle Plugin 8.7.2
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
Description
Background
We are seeing the following runtime crash:
Analaysis
Where the original code looks like the following:
In the final binary, the class
ScImageRenderer
is compiled intoJDe
and thegetName
method is replaced withthrows null
.I'll share a compiler dump over email