Status Update
Comments
jo...@gmail.com <jo...@gmail.com> #2
jo...@gmail.com <jo...@gmail.com> #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!
xa...@google.com <xa...@google.com>
ad...@google.com <ad...@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.
ja...@gmail.com <ja...@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
ja...@gmail.com <ja...@gmail.com> #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?
ad...@google.com <ad...@google.com>
ja...@gmail.com <ja...@gmail.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).
ma...@gmail.com <ma...@gmail.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!
to...@google.com <to...@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.
rt...@google.com <rt...@google.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?
ai...@gmail.com <ai...@gmail.com> #11
Same error
> Task :AnkiDroid:generatePlayDebugUnitTestConfig FAILED
None of these versions work:
- 8.1.2
- 8.2.0-beta06
- 8.3.0-alpha06
je...@google.com <je...@google.com> #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:
im...@google.com <im...@google.com> #13
The change that addresses this issue is in code review. Expect an update soon.
jr...@squareup.com <jr...@squareup.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
ku...@google.com <ku...@google.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.
im...@google.com <im...@google.com> #16
im...@google.com <im...@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.
ku...@google.com <ku...@google.com>
zs...@salesforce.com <zs...@salesforce.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)
jo...@happy.co <jo...@happy.co> #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)
im...@google.com <im...@google.com>
cm...@google.com <cm...@google.com>
cm...@google.com <cm...@google.com>
cm...@google.com <cm...@google.com> #20
Can you please check the AGP version you are using?
Description
Android Plugin Version: 3.1.0-beta3
Module Compile Sdk Version: 27
Module Build Tools Version: latest
Android SDK Tools version: 26.1.1
Cloning Butterknife and updating to the latest Gradle and Android Plugin versions, I get the following when I run `./gradlew assemble`:
/Users/jrod/Development/butterknife/butterknife/build/intermediates/manifests/aapt/release/AndroidManifest.xml:2: AAPT: error: attribute 'package' in <manifest> tag is not a valid Android package name: 'butterknife'.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':butterknife:verifyReleaseResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt