Status Update
Comments
al...@google.com <al...@google.com> #2
Using the same project, and running gw asDeb --configuration-cache
generates an HTML report (like e.g. file:///usr/local/google/home/gavra/AndroidStudioProjects/agp_r8_issue/build/reports/configuration-cache/71bxgz42iqmeflkzkeiz07rgj/exur7n03273b7z2r0b8e1z25h/configuration-cache-report.html
), which indicates that ShaderCompile
reads app/build/intermediates/merged_shaders/debug/out
at configuration time.
The issue is
@InputFiles
@IgnoreEmptyDirectories
@PathSensitive(PathSensitivity.RELATIVE)
@SkipWhenEmpty
public FileTree getSourceFiles() {
File sourceDirFile = getSourceDir().get().getAsFile();
FileTree src = null;
if (sourceDirFile.isDirectory()) {
src = getProject().files(sourceDirFile).getAsFileTree().matching(PATTERN_SET);
}
return src == null ? getProject().files().getAsFileTree() : src;
}
which should migrate to Provider.map {}
.
ja...@gmail.com <ja...@gmail.com> #3
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 Giraffe Canary 1 (2022.3.1.1)
- Android Gradle Plugin 8.1.0
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!
em...@google.com <em...@google.com>
je...@google.com <je...@google.com>
ja...@gmail.com <ja...@gmail.com> #5
Please my app launch
bi...@google.com <bi...@google.com> #6
...
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
...>
</application>
bi...@google.com <bi...@google.com> #7
Fixed with I5af3f35f49f52cd66bbf4bf09ed7aa9ed030abf6
ja...@gmail.com <ja...@gmail.com> #8
Thanks for looking at it, and providing a workaround (and fix!).
Description
When creating a library component that uses here , it states:
@IntDef
annotations in its public API, I am expecting that theannotations.zip
is packaged inside that aar - fromHowever, this doesn't appear to be the case, and the
build/intermediates/annotations_typedef_file/debug/typedefs.txt
file is empty (I'm assuming this would contain something?) as is thebuild/intermediates/annotations_zip/debug/
dir.I'm using AGP 7.0.3 with Gradle version 7.0.2 in Android Studio Bumblebee 2021.1.1. Patch 2.
(NOTE: I re-raised this ticket, as https://issuetracker.google.com/issues/227147440 was likely in too high-level a bucket. Apologies for the dupe.)