Status Update
Comments
dr...@gmail.com <dr...@gmail.com> #2
Retraced stack trace:
Caused by: java.lang.UnsupportedOperationException: Operation is not supported for read-only collection
at com.android.tools.r8.jetbrains.kotlin.collections.EmptyList.removeAll(Collections.kt)
at com.android.tools.r8.resourceshrinker.r8integration.LegacyResourceShrinker.run(LegacyResourceShrinker.java:228)
at com.android.tools.r8.R8.shrinkResources(R8.java:991)
at com.android.tools.r8.R8.runInternal(R8.java:894)
at com.android.tools.r8.R8.runInternal(R8.java:259)
at com.android.tools.r8.R8.lambda$runForTesting$1(R8.java:243)
at com.android.tools.r8.internal.Nu.a(R8_8.9.27_3afcc9fea5cc5cd06373667ec09d5fe106db8a4a77576689534e667542385a93:28
ak...@google.com <ak...@google.com>
ak...@google.com <ak...@google.com> #3
This is happening when there are no unused resources at all and we have duplicated resources between the feature and base (or different features)
Reproduction here:
Fix here:
For the reporter to work around this:
- Disable resource shrinking in this case, it will have no effect since there are no unused resources for this build
- Use legacy AGP embedded shrinker - set android.r8.integratedResourceShrinking false in your settings
- Manually update to a new R8 version (I will post a follow up when this is on our release branch)
rm...@gmail.com <rm...@gmail.com> #4
Thanks!
ep...@gmail.com <ep...@gmail.com> #5
Project: r8
Branch: main
Author: Rico Wind <
Link:
Fix usage of Immutable list in resource shrinker
Expand for full commit details
Fix usage of Immutable list in resource shrinker
The returned list is mutable unless it is empty, allways create a copy.
Bug: b/401546693
Change-Id: I9ea50d23c365ea59e1f6ae5e13a02048daa8b5f8
Files:
- M
src/resourceshrinker/java/com/android/build/shrinker/r8integration/LegacyResourceShrinker.java
- M
src/test/java/com/android/tools/r8/androidresources/DuplicatedEntriesEmptyUnusedTest.java
Hash: dc5cae852ee11d42456d275afb1837d1f770306f
Date: Mon Mar 10 17:56:18 2025
va...@gmail.com <va...@gmail.com> #6
Project: r8
Branch: main
Author: Rico Wind <
Link:
Add reproduction of adding to immutable list in resource shrinker
Expand for full commit details
Add reproduction of adding to immutable list in resource shrinker
This happens if the list returned from the model is empty, in which case it is immutable
Bug: b/401546693
Change-Id: Ib596242df6e3299f19ff00a03dbe43bde79e13c0
Files:
- A
src/test/java/com/android/tools/r8/androidresources/DuplicatedEntriesEmptyUnusedTest.java
Hash: 429ddad6ffce418ebaf482277ee8e96a68ab18e4
Date: Mon Mar 10 17:51:07 2025
kr...@gmail.com <kr...@gmail.com> #7
Project: r8
Branch: 8.9
Author: Rico Wind <
Link:
Add reproduction of adding to immutable list in resource shrinker
Expand for full commit details
Add reproduction of adding to immutable list in resource shrinker
This happens if the list returned from the model is empty, in which case it is immutable
Bug: b/401546693
Change-Id: Ib596242df6e3299f19ff00a03dbe43bde79e13c0
Files:
- A
src/test/java/com/android/tools/r8/androidresources/DuplicatedEntriesEmptyUnusedTest.java
Hash: 2f90d4133d2af07c954dceddb1ae47cc28e7b9d8
Date: Tue Mar 11 10:54:07 2025
sh...@lengenuity.com <sh...@lengenuity.com> #8
Project: r8
Branch: 8.9
Author: Rico Wind <
Link:
Fix usage of Immutable list in resource shrinker
Expand for full commit details
Fix usage of Immutable list in resource shrinker
The returned list is mutable unless it is empty, allways create a copy.
Bug: b/401546693
Change-Id: I9ea50d23c365ea59e1f6ae5e13a02048daa8b5f8
Files:
- M
src/resourceshrinker/java/com/android/build/shrinker/r8integration/LegacyResourceShrinker.java
- M
src/test/java/com/android/tools/r8/androidresources/DuplicatedEntriesEmptyUnusedTest.java
Hash: 5e687ec23a4cdb897cbd2cdccc75ff956d99c88c
Date: Tue Mar 11 10:54:12 2025
vi...@gmail.com <vi...@gmail.com> #9
Project: r8
Branch: 8.9
Author: Rico Wind <
Link:
Version 8.9.32
Expand for full commit details
Version 8.9.32
Bug: b/401546693
Change-Id: Ibed0928d2ac5c2b649516ce2a4918ad04da0b0e7
Files:
- M
src/main/java/com/android/tools/r8/Version.java
Hash: 3daff1971b739cc421cbc79ff63f8e54cf3ae2ed
Date: Tue Mar 11 10:54:18 2025
na...@gmail.com <na...@gmail.com> #10
As a follow up to the last comment, you can try version 8.9.32 with the instructions from here:
That should make the compilation succeed
dr...@gmail.com <dr...@gmail.com> #11
Project: r8
Branch: 8.10
Author: Rico Wind <
Link:
Version 8.10.17
Expand for full commit details
Version 8.10.17
Bug: b/401546693
Change-Id: I0f46c848db5653a9a7728f6f38ab305ac1dac80d
Files:
- M
src/main/java/com/android/tools/r8/Version.java
Hash: 5cb0d6c73b79a70b23b4717529431e18e2501c7a
Date: Tue Mar 11 10:53:16 2025
dr...@gmail.com <dr...@gmail.com> #12
Project: r8
Branch: 8.10
Author: Rico Wind <
Link:
Add reproduction of adding to immutable list in resource shrinker
Expand for full commit details
Add reproduction of adding to immutable list in resource shrinker
This happens if the list returned from the model is empty, in which case it is immutable
Bug: b/401546693
Change-Id: Ib596242df6e3299f19ff00a03dbe43bde79e13c0
Files:
- A
src/test/java/com/android/tools/r8/androidresources/DuplicatedEntriesEmptyUnusedTest.java
Hash: 3867edebfc19c949d55427b1f1774ba25539646e
Date: Tue Mar 11 10:53:02 2025
rm...@gmail.com <rm...@gmail.com> #13
Project: r8
Branch: 8.10
Author: Rico Wind <
Link:
Fix usage of Immutable list in resource shrinker
Expand for full commit details
Fix usage of Immutable list in resource shrinker
The returned list is mutable unless it is empty, allways create a copy.
Bug: b/401546693
Change-Id: I9ea50d23c365ea59e1f6ae5e13a02048daa8b5f8
Files:
- M
src/resourceshrinker/java/com/android/build/shrinker/r8integration/LegacyResourceShrinker.java
- M
src/test/java/com/android/tools/r8/androidresources/DuplicatedEntriesEmptyUnusedTest.java
Hash: d3cabf6667451e51d1d2edec5443ecaaadfbea01
Date: Tue Mar 11 10:53:09 2025
dr...@gmail.com <dr...@gmail.com> #14
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 Meerkat Feature Drop | 2024.3.2 Beta 1
- Android Gradle Plugin 8.10.0-beta01
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!
dr...@gmail.com <dr...@gmail.com> #15
The fixes for this issue are now also available in:
- Android Studio Meerkat | 2024.3.1 Patch 1
- Android Gradle Plugin 8.9.1
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
fl...@gmail.com <fl...@gmail.com> #16
Thanks very much for the regular updates. I just tried it out and it works for me.
mi...@gmail.com <mi...@gmail.com> #17
ti...@gmail.com <ti...@gmail.com> #18
dr...@gmail.com <dr...@gmail.com> #19
(Note: It is the build when sending this report. For exact build reference, please see the attached bugreport.)
This has been working 50% of the time.
Ie sometimes wireless charging works, other times it does not.
There is no rhyme or reason.
Debugging information
Google Play services
com.google.android.gms
Version 222813044 (22.28.13 (190400-460795882))
System App (Updated)
Android System WebView
com.google.android.webview
Version 506007133 (103.0.5060.71)
System App (Updated)
Network operator: Verizon
SIM operator: Verizon
Filed by Android Beta Feedback. Version (Updated): 2.27-betterbug.external_20220615_RC01
To learn more about our feedback process, please visit
dr...@gmail.com <dr...@gmail.com> #20
er...@gmail.com <er...@gmail.com> #21
ji...@gmail.com <ji...@gmail.com> #22
Pixel 6 (not pro), beta 4, TPB4.220624.008.
ed...@gmail.com <ed...@gmail.com> #23
mi...@gmail.com <mi...@gmail.com> #24
ch...@gmail.com <ch...@gmail.com> #25
I am seeing this issue on Android 13 GA (TP1A.220624.021). Pixel 6 Pro with a Pixel Stand Gen 2.
Rebooting fixes the issue temporarily, but charging will stop randomly before completion.
Using wired charging in the meantime.
ry...@thekeighleys.com <ry...@thekeighleys.com> #26
Will not wireless charge. Icon shows the lightning bolt, but is not actually charging.
Drains real fast when using android auto, on a wireless charger in the car.
Was working with last android 13 beta.
se...@gmail.com <se...@gmail.com> #27
Wireless charging not working,same with battery share
tj...@gmail.com <tj...@gmail.com> #28
kr...@gmail.com <kr...@gmail.com> #29
re...@gmail.com <re...@gmail.com> #30
ms...@gmail.com <ms...@gmail.com> #31
kh...@gmail.com <kh...@gmail.com> #32
I tried some things like restarting the phone, safe mode, disabling the Pixel Stand app - none of these are fixing the issue with wireless charging.
on...@gmail.com <on...@gmail.com> #33
fu...@gmail.com <fu...@gmail.com> #34
dr...@gmail.com <dr...@gmail.com> #35
Pixel 4XL
gr...@gmail.com <gr...@gmail.com> #36
ro...@gmail.com <ro...@gmail.com> #37
ri...@gmail.com <ri...@gmail.com> #38
sn...@gmail.com <sn...@gmail.com> #39
jo...@gmail.com <jo...@gmail.com> #40
ni...@googlemail.com <ni...@googlemail.com> #41
kr...@gmail.com <kr...@gmail.com> #42
ro...@gmail.com <ro...@gmail.com> #43
ls...@gmail.com <ls...@gmail.com> #44
ga...@gmail.com <ga...@gmail.com> #45
ko...@gmail.com <ko...@gmail.com> #46
de...@gmail.com <de...@gmail.com> #47
I've tried it on 3 different wireless chargers, same result on each.
g6...@gmail.com <g6...@gmail.com> #48
he...@gmail.com <he...@gmail.com> #49
ru...@gmail.com <ru...@gmail.com> #50
be...@gmail.com <be...@gmail.com> #51
on...@gmail.com <on...@gmail.com> #52
3d...@gmail.com <3d...@gmail.com> #53
ro...@gmail.com <ro...@gmail.com> #54
On Sun, Oct 9, 2022, 08:22 <buganizer-system@google.com> wrote:
dr...@gmail.com <dr...@gmail.com> #55
de...@gmail.com <de...@gmail.com> #56
GIVE US A STATUS UPDATE ON THIS GOOGLE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
rm...@gmail.com <rm...@gmail.com> #57
That would be lovely, if the issue was fixed on the Pixel 7 Pro!
I upgraded from Pixel 6 Pro to Pixel 7 Pro and the issue is still happening.
dr...@gmail.com <dr...@gmail.com> #58
I've heard that can fix the issue
rm...@gmail.com <rm...@gmail.com> #59
> I've heard that can fix the issue
What the hell that fixed it!
Guarantee you work at Google lol, thank you though!
as...@gmail.com <as...@gmail.com> #60
In my case, it seemed to magically fix itself yesterday (Oct 24th) around 4PM MDT while I was driving and using Google maps ( I was watching the battery charge drop... got down to 23% and then magically started charging back up again all the way to 100% in less than 30 minutes...
ar...@gmail.com <ar...@gmail.com> #61
de...@gmail.com <de...@gmail.com> #62
dr...@gmail.com <dr...@gmail.com> #63
Wireless charging will work fine after that.
Instructions below
Yes it is annoying that Google can't seem to fix issues with its own hardware. I am also seriously considering switching for my next phone.
Open settings>apps>see all apps>3 dots in upper right>show system>search for "pixel stand" (icon right next to 3 dots)>tap>tap 3 dots>uninstall updates>disable
de...@gmail.com <de...@gmail.com> #64
This doesn't work when you don't own a pixel stand app :-)
dr...@gmail.com <dr...@gmail.com> #65
jm...@gmail.com <jm...@gmail.com> #66
Cleared pixel stand app cache and no luck.
kf...@gmail.com <kf...@gmail.com> #67
wr...@gmail.com <wr...@gmail.com> #68
de...@gmail.com <de...@gmail.com> #69
hu...@gmail.com <hu...@gmail.com> #70
xa...@gmail.com <xa...@gmail.com> #71
de...@gmail.com <de...@gmail.com> #72
al...@gmail.com <al...@gmail.com> #73
Pixel 7 - Android 13 (latest updates as of 1/9/23)
Description
(Note: It is the build when sending this report. For exact build reference, please see the attached bugreport.)
What type of Android issue is this? Battery / Power
What steps would let us observe this issue?
1. Place on wireless charger
What did you expect to happen?
Phone charges
What actually happened?
Phone does not charge, despite saying that it is
How often has this happened?
Every time
What was the effect of this issue on your device usage, such as lost time or work?
High
Debugging information
Google Play services
com.google.android.gms
Version 222255044 (22.22.55 (190400-453326789))
System App (Updated)
Android System WebView
com.google.android.webview
Version 500507833 (102.0.5005.78)
System App (Updated)
Network operator: Verizon
SIM operator: Verizon
Filed by Android Beta Feedback. Version (Updated): 2.26-betterbug.external_20220504_RC03
To learn more about our feedback process, please visit