Status Update
Comments
sp...@google.com <sp...@google.com>
lb...@gmail.com <lb...@gmail.com> #2
Can you use the workaround described at
sp...@google.com <sp...@google.com> #3
Using 8.4.40 or 8.5.26 cannot fix the issue.
8.3.51 is not found.
Using 8.3.37 from
lb...@gmail.com <lb...@gmail.com> #4
From
@Søren: Could you triage this issue?
lb...@gmail.com <lb...@gmail.com> #5
Thanks for taking the time to create a reproduction. I reproduced the issue and confirmed that the issue is still present on main (R8 8.6). I will land a fix soon and backport the fix to the relevant release branches.
sp...@google.com <sp...@google.com> #6
Branch: main
commit 7803ec93afef8bf1047eaf8f209fdbe81bdbd581
Author: Christoffer Adamsen <christofferqa@google.com>
Date: Fri Jun 28 08:39:10 2024
Reproduce IAE from instance field merging
Bug:
Change-Id: I0614da65d0a60f7f2d01d6a8aa92b9cadfabe005
A src/test/java/com/android/tools/r8/classmerging/horizontal/InaccessibleFieldTypeMergingTest.java
A src/test/java/com/android/tools/r8/classmerging/horizontal/testclasses/InaccessibleFieldTypeMergingTestClasses.java
lb...@gmail.com <lb...@gmail.com> #7
Branch: main
commit 9ea42409d593d89dce0184f00728ccd46ba5e7a3
Author: Christoffer Adamsen <christofferqa@google.com>
Date: Fri Jun 28 12:48:42 2024
Disallow class merging when instance field merging may lead to IAE
Bug:
Change-Id: I521dc342150e8374992dd453379915e8a5e36db8
M src/main/java/com/android/tools/r8/shaking/Enqueuer.java
M src/test/java/com/android/tools/r8/classmerging/horizontal/InaccessibleFieldTypeMergingTest.java
sh...@gmail.com <sh...@gmail.com> #8
sh...@gmail.com <sh...@gmail.com> #9
sh...@gmail.com <sh...@gmail.com> #10
an...@google.com <an...@google.com> #11
Branch: 8.4
commit 4c848f3563562011b284484a2f60c0f0a4a020d1
Author: Christoffer Adamsen <christofferqa@google.com>
Date: Fri Jun 28 13:42:06 2024
Version 8.4.42
Bug:
Change-Id: I5239ceba9bd57249447ef5f140f8122924d5513a
M src/main/java/com/android/tools/r8/Version.java
lb...@gmail.com <lb...@gmail.com> #12
Branch: 8.4
commit b4c22c95d196d99507fa9c6fea954cf5f215662c
Author: Christoffer Adamsen <christofferqa@google.com>
Date: Fri Jun 28 13:41:52 2024
Disallow class merging when instance field merging may lead to IAE
Bug:
Change-Id: I521dc342150e8374992dd453379915e8a5e36db8
M src/main/java/com/android/tools/r8/shaking/Enqueuer.java
M src/test/java/com/android/tools/r8/classmerging/horizontal/InaccessibleFieldTypeMergingTest.java
lb...@gmail.com <lb...@gmail.com> #13
Branch: 8.4
commit 1acc8c9b4646032a05e9814509cb01ff18b0a72e
Author: Christoffer Adamsen <christofferqa@google.com>
Date: Fri Jun 28 13:39:29 2024
Reproduce IAE from instance field merging
Bug:
Change-Id: I0614da65d0a60f7f2d01d6a8aa92b9cadfabe005
A src/test/java/com/android/tools/r8/classmerging/horizontal/InaccessibleFieldTypeMergingTest.java
A src/test/java/com/android/tools/r8/classmerging/horizontal/testclasses/InaccessibleFieldTypeMergingTestClasses.java
sp...@google.com <sp...@google.com> #14
This should now be fixed in R8 8.4.42 and 8.5.31.
sp...@google.com <sp...@google.com> #15
I am sorry to say that the IllegalAccessError still exists in TestGradleBug, using either R8 8.4.42 or 8.5.31.
lb...@gmail.com <lb...@gmail.com> #16
Branch: 8.4
commit f550fa0f75062c1c92ab0667b709bb16337eb12f
Author: Christoffer Adamsen <christofferqa@google.com>
Date: Tue Jul 02 09:18:30 2024
Analyze all field accesses for limited horizontal class merging
Bug:
Change-Id: If1dc4510124582233df02d6b4c2595f34eee2fd5
M src/main/java/com/android/tools/r8/shaking/Enqueuer.java
sp...@google.com <sp...@google.com> #17
Branch: 8.5
commit 2c668659d72b47931c6e6e4091db567894f78a1b
Author: Christoffer Adamsen <christofferqa@google.com>
Date: Tue Jul 02 09:16:52 2024
Analyze all field accesses for limited horizontal class merging
Bug:
Change-Id: If1dc4510124582233df02d6b4c2595f34eee2fd5
M src/main/java/com/android/tools/r8/shaking/Enqueuer.java
lb...@gmail.com <lb...@gmail.com> #18
Branch: 8.5
commit e606d91cdeba3ac6522fd28540e2d3b32d1bf905
Author: Christoffer Adamsen <christofferqa@google.com>
Date: Tue Jul 02 09:17:02 2024
Version 8.5.32
Bug:
Change-Id: I472a5f30932516a2e2d3b0cc4488492f56d140c6
M src/main/java/com/android/tools/r8/Version.java
sp...@google.com <sp...@google.com> #19
Sorry, and thanks for the feedback! This should be fixed in R8 8.4.43 and R8 8.5.32. It would be great if you can confirm whether this works for you. Thanks!
lb...@gmail.com <lb...@gmail.com> #20
Both R8 8.4.43 and R8 8.5.32 work for me. Thanks!
wa...@gmail.com <wa...@gmail.com> #21 Restricted+
h4...@gmail.com <h4...@gmail.com> #22
Android Gradle Plugin 8.6.0-beta02 works for me. Thanks!
lb...@gmail.com <lb...@gmail.com> #23
The fixes for this issue are now also available in:
- Android Studio Koala | 2024.1.1 Patch 2
- Android Gradle Plugin 8.5.2
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
sp...@google.com <sp...@google.com> #24
Android Gradle Plugin 8.5.2 works for me. Thanks!
h4...@gmail.com <h4...@gmail.com> #25
I followed the steps with Pixel 8. Here's the logcat.
h4...@gmail.com <h4...@gmail.com> #26
Oh, sorry. The Pixel 8 is on Android 15 beta. That might be the issue. But I hope this feature can be forward compatible :)
sp...@google.com <sp...@google.com> #27
Yes, it is. Android 15 will be supported but it requires a newer Android build.
lb...@gmail.com <lb...@gmail.com> #28
@27 Newer than Android 15? It will be on 16 ?!
sp...@google.com <sp...@google.com> #29
Android 15 isn't final yet.
lb...@gmail.com <lb...@gmail.com> #30
@29 what about Android 14 on the Honor device though?
This feature (turn off display while mirroring) works fine on stable version of the IDE, but not on the recent canary versions (worked fine a few months ago on canary) ...
an...@google.com <an...@google.com> #31
The fixes for this issue are now also available in:
- Android Studio Ladybug | 2024.1.3 Canary 1
- Android Gradle Plugin 8.7.0-alpha01
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Description
Turning display power is not supported currently on Android 14. This feature request tracks adding support for it on that Android version.