Status Update
Comments
ze...@google.com <ze...@google.com>
sg...@google.com <sg...@google.com> #2
Fix (pending) is I2c2dc7b600603ee430fd0d91b23d52ea8aa29ca9.
sg...@google.com <sg...@google.com> #3
pu...@gmail.com <pu...@gmail.com> #4
#sdkmanager --package_file=${PATH_WORKSPACE}/packages
while read p; do echo "y" | sdkmanager "${p}"; done <${PATH_WORKSPACE}/packages
sg...@google.com <sg...@google.com> #5
pu...@gmail.com <pu...@gmail.com> #6
ky...@gmail.com <ky...@gmail.com> #7
pu...@gmail.com <pu...@gmail.com> #8
pu...@gmail.com <pu...@gmail.com> #9
ja...@gmail.com <ja...@gmail.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
```
fl...@gmail.com <fl...@gmail.com> #11
ap...@google.com <ap...@google.com> #12
cl...@google.com <cl...@google.com> #13
pu...@gmail.com <pu...@gmail.com> #14
sg...@google.com <sg...@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
cl...@google.com <cl...@google.com> #18
8.5.28 and 8.6.12-dev should have fixes for this. We can keep this open until someone verifies
pu...@gmail.com <pu...@gmail.com> #19
I confirm that both R8 8.6.12-dev and 8.5.28 work fine in conjunction with AGP 8.6.0-alpha07. Again, thanks for the fix !
cl...@google.com <cl...@google.com>
er...@gmail.com <er...@gmail.com> #20
I can also confirm 8.6.12-dev
fixed the issue for me. Thank you.
Will it be part of the release notes, whether it's in 8.6.0-alpha09
or another upcoming canary release?
pu...@gmail.com <pu...@gmail.com> #21
This issue is fixed in AS Ladybug 2024.1.3 Canary 1, as it uses R8 8.7.1-dev
(Interestingly this fix is not mentioned in the issue fixed list).
So if you had forced R8 8.6.12-dev
in your settings.gradle
, you can remove it now.
an...@google.com <an...@google.com> #22
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 Koala | 2024.1.1 Patch 2
- Android Gradle Plugin 8.5.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!
he...@gmail.com <he...@gmail.com> #23
* Android Studio Koala | 2024.1.1 Patch 2
* Android Gradle Plugin 8.4.0
sg...@google.com <sg...@google.com> #24
In response to
Description
I just upgraded from Koala 2024.1.2 Canary 5 to Canary 6 (which was just released), which upgraded AGP to
8.6.0-alpha06
and R8 to8.6.6-dev
.Since then, a Gradle sync of my project fails with in
java.lang.Error: Unexpected backport missing from Android U: java.util.stream.DoubleStream java.util.stream.DoubleStream.iterate(double, java.util.function.DoublePredicate, java.util.function.DoubleUnaryOperator)
.Here's the full gradle trace below.
Note that a
gradle assembleRelease
on the command line fails the same when it reaches thelintVitalAnalyzeRelease
task.I tried to configure the build to use the latest R8 release at this time (8.6.8-dev), but the error is the same.
If you need more info, let me know.