Status Update
Comments
ks...@google.com <ks...@google.com>
je...@google.com <je...@google.com>
ga...@google.com <ga...@google.com> #2
Information redacted by Android Beta Feedback.
cp...@gmail.com <cp...@gmail.com> #3
ga...@google.com <ga...@google.com> #4
Thank you for reporting this issue. We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
cp...@gmail.com <cp...@gmail.com> #5
eg...@gmail.com <eg...@gmail.com> #7
Unfortunately, the issue isn't solved in beta 2.1 despite the changelog saying it is :-(
ma...@gmail.com <ma...@gmail.com> #8
ma...@reverb.com <ma...@reverb.com> #9
Thank you for reporting this issue. We have a fix rolling out in the next release.
ga...@google.com <ga...@google.com> #10
sh...@gmail.com <sh...@gmail.com> #11
Oppo
ga...@google.com <ga...@google.com> #12
sh...@gmail.com <sh...@gmail.com> #13
ma...@bit-worker.com <ma...@bit-worker.com> #14
Build number AP31.240426.023
fr...@gmail.com <fr...@gmail.com> #15
fr...@gmail.com <fr...@gmail.com> #16
We detected a new issue
ca...@gmail.com <ca...@gmail.com> #17
Still not resolved with Android 15 beta 2.2 :-(
ch...@q42.nl <ch...@q42.nl> #18
fr...@x.com <fr...@x.com> #19
jo...@gmail.com <jo...@gmail.com> #20
ja...@gmail.com <ja...@gmail.com> #21
my...@gmail.com <my...@gmail.com> #22
Will there be any fix for this? Because soon it will be mandatory to support API 34, and this is impossible because of a bug in the build.
no...@gmail.com <no...@gmail.com> #23
ge...@gmail.com <ge...@gmail.com> #24
FYI, in our case the culprit was a 3rd-party plugin gradle assembleRelease
was succeeding.
Once we upgraded the plugin to an AGP 8+-supporting version (1.4.0), the problem went away.
al...@gmail.com <al...@gmail.com> #25
ra...@gmail.com <ra...@gmail.com> #26
da...@orgmob.com <da...@orgmob.com> #27
I ran into this upgrading from gradle 8.0.2 to 8.2.2, to match upgrading from Android Studio Flamingo to Hedgehog.
I made all the changes directed in the
Using the approach listed in build.gradle
file:
ant.importBuild("${<location-of-ant-project>}/build.xml") { antTargetName ->
'<prefix-I-used>-' + antTargetName
}
For me this was not currently in use, so I've just commented it out, but it seems to me that perhaps it's a gradle (packaging?) bug with the implementation of AntBuilder org.gradle.api.Project.getAnt()
that's shipping with Android Studio?
gu...@gmail.com <gu...@gmail.com> #28
br...@multibrain.net <br...@multibrain.net> #29
ha...@gmail.com <ha...@gmail.com> #30
The error that I'm getting is
Task :app:minifyKioskDebugWithR8 FAILED AGPBI: {"kind":"error","text":"com.android.tools.r8.ResourceException:
Reference issue.
Please anyone help me on this!
je...@google.com <je...@google.com>
hm...@google.com <hm...@google.com> #31
#29 and #30 if you are not using any of the "eager apis" outlined here (
Please include a list of third party plugins you are depending on too.
an...@google.com <an...@google.com> #32
In the future, if you encounter this or any other issue, please read
Thank you!
Description
Gradle fails to assemble release build, debug build is assembled fine & it works on devices.
But release build is not assembled because r8 requires /build/intermediates/merged_java_res/release/base.jar
which is not present at the moment of the execution of minify task
Task :Module:mergeNetCleanReleaseGeneratedProguardFiles UP-TO-DATE
> Task :Module:processNetCleanReleaseJavaRes
> Task :Module:mergeNetCleanReleaseJavaResource
> Task :Module:minifyNetCleanReleaseWithR8 FAILED
AGPBI: {"kind":"error","text":"com.android.tools.r8.ResourceException:
I have tried manually launch task mergeNetCleanReleaseJavaResource and base.jar is generated which is the same as in the debug buildVariant and contains nothing special just some metadata from libraries. It is attached below.
Build with debug or stacktrace gives no additional information because stack trace is for r8 which can't find base.jar which is deleted by some previous tasks.
Build: AI-223.8836.35.2231.9848316, 202303300030
AI-223.8836.35.2231.9848316, JRE 17.0.6+0-17.0.6b653.34-9746777x64 JetBrains s.r.o., OS Linux(amd64) v5.15.0-69-generic, screens 3440.0x1440.0
AS: Giraffe | 2022.3.1 Canary 11
Kotlin plugin: 223-1.8.0-release-345-AS8836.35.2231.9848316
Android Gradle Plugin: 8.1.0-alpha11
Gradle: 8.0
Gradle JDK: JetBrains Runtime version 17.0.6
NDK: from local.properties: (not specified), latest from SDK: (not found)
CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
```