Status Update
Comments
ha...@gmail.com <ha...@gmail.com> #2
I don't think the average developer understands the distinction between method references and method definitions in this context (inside a DEX file). I know I don't.
@jvg, can you elaborate?
ml...@google.com <ml...@google.com>
jl...@google.com <jl...@google.com>
am...@google.com <am...@google.com> #3
people who are looking at the bytecode in the dex to optimize their app through shrinking hopefully will learn the difference as string tables for method references between various dex files can account for quite a bit of disk space. but more importantly a definition is something you can analyze its code for where a reference you can't so the UI can be confusing without seeing the difference
jg...@google.com <jg...@google.com> #4
How about something like this?
I think having defined members be directly under the class node while references are nested in a group makes more sense.
Also note that the method refs have a
ru...@google.com <ru...@google.com> #5
sounds reasonable to me, thanks
ro...@gmail.com <ro...@gmail.com> #6
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 Ladybug Feature Drop | 2024.2.2 Canary 4
- Android Gradle Plugin 8.8.0-alpha04
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!
ro...@gmail.com <ro...@gmail.com> #7
ha...@gmail.com <ha...@gmail.com> #8
If you're affected by this bug, try to use Studio Giraffe Canary 2 or Studio Flamingo Beta 2 where this should be fixed.
ze...@gmail.com <ze...@gmail.com> #9
md...@gmail.com <md...@gmail.com> #10
Good
sa...@gmail.com <sa...@gmail.com> #11 Restricted+
da...@gmail.com <da...@gmail.com> #12
md...@gmail.com <md...@gmail.com> #13
good
an...@google.com <an...@google.com> #15
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 Iguana | 2023.2.1 Canary 2
- Android Gradle Plugin 8.3.0-alpha02
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!
an...@google.com <an...@google.com> #16
The fixes for this issue are now also available in:
- Android Studio Hedgehog | 2023.1.1 RC 2
- Android Gradle Plugin 8.2.0-rc02
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
an...@google.com <an...@google.com> #17
The fixes for this issue are now also available in:
- Android Studio Ladybug Feature Drop | 2024.2.2 Canary 2
- Android Gradle Plugin 8.8.0-alpha02
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Description
I'm trying to use a text with an HTMLhttps://github.com/hardysim/htmlbtest .
<b>
-Tag for a composeText()
. The HTML-text is converted to aSpannable
viaHtmlCompat.fromHtml()
and then to anAnnotatedString
which applies a boldSpanStyle
. See the example project:This works fine in the actual app as well as in the compose preview in "Android Studio Dolphin | 2021.3.1 Patch 1" using AGP
7.3.1
. But it stops working when using "Android Studio Electric Eel | 2022.1.1 RC 1". I get the following error for the preview:This is also a problem when using paparazzi to generate snapshot images. The newer paparazzi 1.2 (snapshot version,
1.2.0-20221214.164218-18
to be exact) seems to bring AGP7.4.0-rc01
with it and with AGP maybe a new layoutlib version?. As soon as I use the new paparazzi version, it overrides my locally defined AGP version and the snapshot-generation fails with the same error I get for the preview in Android Studio.Other tags like
<i>
or<u>
are still working fine. Maybe it's related toHtml.handleEndTag()
which adds afontWeightAdjustment
to theSpanStyle
for<b>
- and<strong
>-Tags but that's as far as I got investigating.