Status Update
Comments
ar...@google.com <ar...@google.com>
je...@google.com <je...@google.com>
am...@google.com <am...@google.com>
am...@google.com <am...@google.com>
ch...@kogan.com.au <ch...@kogan.com.au> #2
mi...@mikehardy.net <mi...@mikehardy.net> #3
Perhaps it is scheduled for 8.2.x ?
Would be nice to know where the fix will land, with regard to published versions.
Cheers!
am...@google.com <am...@google.com> #4
The fix is going to be in 8.3 canary 2 release. I can cherry-pick this change to make it part of 8.2 beta 2 release.
wb...@gmail.com <wb...@gmail.com> #5
Is this also going to land in a patch release of 8.1.x ? Otherwise we'll have to stay on 8.0.x until 8.2 is released
Wim
mi...@mikehardy.net <mi...@mikehardy.net> #6
We have a reproduction branch on our app here
You run the gradle task `jacocoTestReport` and it will reproduce the error (e.g., `.\gradlew.bat jacocoTestReport` or `./gradlew jacocoTestReport`)
It works with android gradle plugin 8.0.x, it appears to fail on every stable, beta or alpha version of android gradle plugin after that still, despite the hope that >= 8.2.0-beta02 or >= 8.3.0-alpha02 would contain a fix per comments above
Help?
am...@google.com <am...@google.com> #7
#2, yes the fix is scheduled to be part of Android Studio Giraffe/AGP 8.1 patch 2 release. #6, The cherry-picking approval took longer than expected. It should be part of Hedgehog Beta 4 which is not released yet(instead of beta02 stated in #4).
an...@google.com <an...@google.com> #8
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 Hedgehog | 2023.1.1 Beta 4
- Android Gradle Plugin 8.2.0-beta04
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!
an...@google.com <an...@google.com> #9
The fixes for this issue are now also available in:
- Android Studio Giraffe | 2022.3.1 Patch 2
- Android Gradle Plugin 8.1.2
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
wb...@gmail.com <wb...@gmail.com> #10
Using Android Studio Giraffe | 2022.3.1 Patch 2 + Android Gradle Plugin 8.1.2
I now receive:
Execution failed for task ':app:generateDebugUnitTestConfig'.
expected one element but was: <BuiltArtifactImpl(outputFile=<project>/build/intermediates/packaged_manifests/debug/armeabi-v7a/AndroidManifest.xml, versionCode=1, versionName=1.0, variantOutputConfiguration=VariantOutputConfigurationImpl(isUniversal=false, filters=[FilterConfiguration(filterType=ABI, identifier=armeabi-v7a)]), attributes={}), BuiltArtifactImpl(outputFile=<project>/build/intermediates/packaged_manifests/debug/x86_64/AndroidManifest.xml, versionCode=1, versionName=1.0, variantOutputConfiguration=VariantOutputConfigurationImpl(isUniversal=false, filters=[FilterConfiguration(filterType=ABI, identifier=x86_64)]), attributes={}), BuiltArtifactImpl(outputFile=<project>/build/intermediates/packaged_manifests/debug/x86/AndroidManifest.xml, versionCode=1, versionName=1.0, variantOutputConfiguration=VariantOutputConfi gurationImpl(isUniversal=false, filters=[FilterConfiguration(filterType=ABI, identifier=x86)]), attributes={})>
It seems this bug is not yet fully fixed?
mi...@mikehardy.net <mi...@mikehardy.net> #11
Same error
> Task :AnkiDroid:generatePlayDebugUnitTestConfig FAILED
None of these versions work:
- 8.1.2
- 8.2.0-beta06
- 8.3.0-alpha06
am...@google.com <am...@google.com>
mi...@mikehardy.net <mi...@mikehardy.net> #12
Google issues says "You do not have permission to create issues in this component." :-)
Regardless, I have logged this issue per direction to log a new issue:
am...@google.com <am...@google.com> #13
The change that addresses this issue is in code review. Expect an update soon.
xa...@google.com <xa...@google.com> #14
Fix was merged in the Hedgehog branch so the next beta build should have the fix.
We are considering a patch for G/8.1
de...@bayer.com <de...@bayer.com> #15
testOptions {
animationsDisabled = true
unitTests {
includeAndroidResources = true
}
}
splits {
abi {
enable true
reset()
include 'x86_64', 'arm64-v8a', 'armeabi-v7a'
universalApk true
}
}
I get the same errors as described by #10
expected one element but was: <BuiltArtifactImpl(outputFile=<project>/build/intermediates/packaged_manifests/debug/armeabi-v7a/AndroidManifest.xml, versionCode=1, versionName=1.0, variantOutputConfiguration=VariantOutputConfigurationImpl(isUniversal=false, filters=[FilterConfiguration(filterType=ABI, identifier=armeabi-v7a)]), attributes={}), BuiltArtifactImpl(outputFile=<project>/build/intermediates/packaged_manifests/debug/x86_64/AndroidManifest.xml, versionCode=1, versionName=1.0, variantOutputConfiguration=VariantOutputConfigurationImpl(isUniversal=false, filters=[FilterConfiguration(filterType=ABI, identifier=x86_64)]), attributes={}), BuiltArtifactImpl(outputFile=<project>/build/intermediates/packaged_manifests/debug/x86/AndroidManifest.xml, versionCode=1, versionName=1.0, variantOutputConfiguration=VariantOutputConfi gurationImpl(isUniversal=false, filters=[FilterConfiguration(filterType=ABI, identifier=x86)]), attributes={})>
If I remove the includeAndroidResources = true I can compile the Unit Tests however some of them fail as they cannot access android resources any longer and they rely on it.
de...@bayer.com <de...@bayer.com> #16
am...@google.com <am...@google.com> #17
The fix for this bug is already in Iguana Canary 7 and is going to be included in Hedgehog RC2 and Giraffe P3.
de...@bayer.com <de...@bayer.com> #18
Build #AI-232.10072.27.2321.11006994, built on October 26, 2023
Runtime version: 17.0.8+0-17.0.8b1000.22-10799086 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.6.1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 10
Metal Rendering is ON
Registry:
external.system.auto.import.disabled=true
debugger.new.tool.window.layout=true
ide.text.editor.with.preview.show.floating.toolbar=false
ide.experimental.ui=true
Non-Bundled Plugins:
idea.plugin.protoeditor (232.9559.10)
And the issue persists (the exact same issue)
de...@bayer.com <de...@bayer.com> #19
Build #AI-231.9392.1.2311.10980684, built on October 20, 2023
Runtime version: 17.0.7+0-17.0.7b1000.6-10550314 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.6.1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 10
Metal Rendering is ON
Registry:
external.system.auto.import.disabled=true
debugger.new.tool.window.layout=true
ide.text.editor.with.preview.show.floating.toolbar=false
ide.experimental.ui=true
Non-Bundled Plugins:
idea.plugin.protoeditor (231.9225.5)
No success (Same issue is still present)
am...@google.com <am...@google.com> #20
Can you please check the AGP version you are using?
de...@bayer.com <de...@bayer.com> #21
an...@google.com <an...@google.com> #22
Further fixes for this issue are now available in:
- Android Studio Giraffe | 2022.3.1 Patch 3
- Android Gradle Plugin 8.1.3
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
be...@gmail.com <be...@gmail.com> #23
My area support on
na...@gmail.com <na...@gmail.com> #24
Good 👍
Description
./gradlew
test fails with "Unable to find manifest output" if bothsplits.abi.isEnable
andtestOptions.unitTests.isIncludeAndroidResources
are true.Disabling either of the options allows the command to finish successfully.
This is not reproducible on AGP 8.0.2.
A reproducer can be found at GitHub .