Fixed
Status Update
Comments
mk...@google.com <mk...@google.com> #2
This was broken by 3bca759a5ff08352de831bb1e9b61b1ec2b3362d.
Fix (pending) is I2c2dc7b600603ee430fd0d91b23d52ea8aa29ca9.
Fix (pending) is I2c2dc7b600603ee430fd0d91b23d52ea8aa29ca9.
co...@ringcentral.com <co...@ringcentral.com> #3
Comment has been deleted.
co...@gmail.com <co...@gmail.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
ha...@google.com <ha...@google.com>
an...@immobiliare.it <an...@immobiliare.it> #5
jb...@google.com What is the update on this?
je...@google.com <je...@google.com>
ga...@google.com <ga...@google.com> #6
What is the status of this item?
lu...@google.com <lu...@google.com> #7
This has been fixed on master today (internal ref: ag/2945015) and will be available in the next SDK release.
co...@ringcentral.com <co...@ringcentral.com> #8
Any ETA on next release?
sa...@gmail.com <sa...@gmail.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.
aa...@gmail.com <aa...@gmail.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
```
nl...@163.com <nl...@163.com> #11
Hi, is there any update to this issue? Thanks.
co...@gmail.com <co...@gmail.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?
lu...@google.com <lu...@google.com>
am...@google.com <am...@google.com> #13
Yeah, still not fixed --'
am...@google.com <am...@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.
co...@gmail.com <co...@gmail.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.
co...@gmail.com <co...@gmail.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
hy...@foxmail.com <hy...@foxmail.com> #18
I use AGP 8.3.0-beta02 when isMinifyEnabled=true is set ,other library module jacoco instrument does not take effect app.build
buildTypes {
release {
isMinifyEnabled = true
proguardFiles("proguard-rules/release.pro")
enableAndroidTestCoverage = true
}
}
other module
buildTypes {
release {
isMinifyEnabled = false
enableAndroidTestCoverage=true
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
}
....
}
cu...@gmail.com <cu...@gmail.com> #19
this issue also exists when use AGP 7.4.2, is there any workaround to fix it under AGP 7.4.2?
di...@gmail.com <di...@gmail.com> #20
I have a question:why enableAndroidTestCoverage does not work when isMinifyEnabled=true in AGP7.4.2
create(BuildTypes.JACOCO).apply {
```
isMinifyEnabled = true
testCoverage {
enableAndroidTestCoverage = true
enableUnitTestCoverage = true
}
```
}
create(BuildTypes.JACOCO).apply {
```
isMinifyEnabled = true
testCoverage {
enableAndroidTestCoverage = true
enableUnitTestCoverage = true
}
```
}
ho...@hotmail.com <ho...@hotmail.com> #21
Is there any way to make isMinifyEnabled(true) and jacoco work together?
ho...@hotmail.com <ho...@hotmail.com> #22
Not work with AS(2023.2.1 Canary 12) + AGP (8.3.0-alpha12), any one tried?
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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 Iguana | 2023.2.1 Canary 12
Android Gradle Plugin 8.3.0-alpha12
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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 Iguana | 2023.2.1 Canary 12
Android Gradle Plugin 8.3.0-alpha12
Description
buildTypes {
release {
minifyEnabled true
testCoverageEnabled true
....
}
}
I set minifyEnabled & testCoverageEnabled as true, but jacoco instrument does not take effect, and obfuscation also did not work.
buildTypes {
release {
minifyEnabled true
enableAndroidTestCoverage true
....
}
}
I set minifyEnabled & enableAndroidTestCoverage as true, obfuscation does work, but jacoco instrument does not take effect.