Status Update
Comments
lu...@google.com <lu...@google.com> #2
iu...@google.com <iu...@google.com> #3
for the "out" bundle issue, this seems indeed an issue. for the second one reported adding "debugUpdateAPKArtifact" to the path, this WAI as there can more more than one transformer and we need to automatically separate them so they do not use the same output folder. for #3, I will look at it but it might be difficult to change it at this time.
lu...@google.com <lu...@google.com> #4
sh...@adobe.com <sh...@adobe.com> #5
Hello, this is a P1 S1 issue for a while now, and it's blocking us from upgrading to AGP 4.2 and further. What's the current status? And do you have plans to backport it to 4.2.x?
am...@zee.com <am...@zee.com> #6
no we don't have a plan to backport this. why is this blocking you from upgrading ?
na...@gtempaccount.com <na...@gtempaccount.com> #7
We sign apk's and bundles via internal service, and i don't know another way to interact with artifacts;
Yesterday i ended up with some ugly workaround:
lu...@google.com <lu...@google.com> #8
I commented on the merge request but to summarize :
you can set your signing tasks output folder to wherever you need to be :
artifacts.use(target.tasks.signedApkTaskProvider(this)).configure { signedDirProperty.set(File("/path/to/where/you/want/your/signed/files")) }
if you don't set it, then we will set a directory automatically.
sh...@adobe.com <sh...@adobe.com> #9
Thanks, Jerome!
ab...@gmail.com <ab...@gmail.com> #10
ju...@gmail.com <ju...@gmail.com> #11
correction, I was not correct about FILE being correct.
Instead of :
updatedArtifact: /usr/local/google/home/jedo/src/studio-main/out/apiTests/Kotlin/bugTest/app/build/outputs/bundle/debug/app-debug.aab
it should be
updatedArtifact: /usr/local/google/home/jedo/src/studio-main/out/apiTests/Kotlin/bugTest/app/build/outputs/app-debug.aab
``
ki...@gmail.com <ki...@gmail.com> #12
Two requests are created as they are API changes
lu...@google.com <lu...@google.com> #13
Fix will be available in Android Studio F/AGP 8.0 Canary 2 Release
dh...@gmail.com <dh...@gmail.com> #14
I tried to use it and at first look, it looks like everything works as expected. Thanks!
Description
To reproduce:
Sample Runtime exception:
The issue is present both the old and new resource shrinkers. So this issue doesn't appear to be related to b/237783271 as that particular issue isn't present in the old resource shrinker.
The resource that is being reported as
android.content.res.Resources$NotFoundException
exists within the APK's resource table and as a file, however the contents are shrunk (empty tag xml file). In the repro case the drawable resource is declared and by an app compat library called by the MainActivity in the app (base module).