Fixed
Status Update
Comments
vs...@google.com <vs...@google.com>
je...@google.com <je...@google.com>
be...@google.com <be...@google.com> #2
This was broken by 3bca759a5ff08352de831bb1e9b61b1ec2b3362d.
Fix (pending) is I2c2dc7b600603ee430fd0d91b23d52ea8aa29ca9.
Fix (pending) is I2c2dc7b600603ee430fd0d91b23d52ea8aa29ca9.
cm...@google.com <cm...@google.com> #3
Almost 2 months later and this is still broken
lu...@google.com <lu...@google.com> #4
Since there is no progression, I wanted to share our quick-fix for the issue.
#sdkmanager --package_file=${PATH_WORKSPACE}/packages
while read p; do echo "y" | sdkmanager "${p}"; done <${PATH_WORKSPACE}/packages
#sdkmanager --package_file=${PATH_WORKSPACE}/packages
while read p; do echo "y" | sdkmanager "${p}"; done <${PATH_WORKSPACE}/packages
de...@google.com <de...@google.com> #5
jb...@google.com What is the update on this?
lu...@google.com <lu...@google.com> #6
What is the status of this item?
cm...@google.com <cm...@google.com> #7
This has been fixed on master today (internal ref: ag/2945015) and will be available in the next SDK release.
an...@google.com <an...@google.com> #9
Still broken and not updated? --package_file argument is not usable in it's current form on 26.1.1 straight from the developer site.
mi...@swiftkey.com <mi...@swiftkey.com> #10
Comfirmed that this seems to still be broken. Can we have an update please?
```
(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
```
```
(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
```
th...@opera.com <th...@opera.com> #11
Hi, is there any update to this issue? Thanks.
xa...@google.com <xa...@google.com>
lu...@google.com <lu...@google.com>
lu...@google.com <lu...@google.com> #12
Hi Google. You claim it's been fixed on master, but we haven't had a new release since the broken version 26.1.1. Can you please release the fix?
jr...@squareup.com <jr...@squareup.com> #13
Yeah, still not fixed --'
lu...@google.com <lu...@google.com> #14
Can't believe this still isn't fixed 2 years later for a command line utility that sits on the main dev site.
an...@google.com <an...@google.com> #15
Any updates on this? The help for this command clearly states this argument is supported.
an...@google.com <an...@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.
th...@opera.com <th...@opera.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
do...@traveloka.com <do...@traveloka.com> #18
8.2.x will be fixed or not?
ka...@gmail.com <ka...@gmail.com> #19
Thank you
ro...@ebay.com <ro...@ebay.com> #20
I'm still facing this issue with AGP 8.2.2. Has the fix backported to 8.2.*?
an...@kakaopaycorp.com <an...@kakaopaycorp.com> #21
please help me.
I am dying due to this.
I am dying due to this.
Description
If a project has dynamic features enabled the install task generated for the application project is broken and will cause an stackoverflow in getApkFiles.
STEPS TO REPRODUCE:
1. Clone example project
2. Run ./gradlew app:installDebug
Output:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:installDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.InstallVariantViaBundleTask$InstallRunnable
> java.lang.StackOverflowError (no error message)
Full --stacktrace attached.
------------------
IMPORTANT: Please read
all required information.
------------------
Version of Gradle Plugin: 8.2.0
Version of Gradle: 8.5
Version of Java: 21
OS: Linux