Status Update
Comments
hu...@google.com <hu...@google.com>
vs...@google.com <vs...@google.com> #2
STEPS TO REPRODUCE:
Suppose we have such entry in Main.apk:
main.apk -->
res/ic_launcher_round.webp 10K
assets/plugin.apk -->
res/ic_launcher_round.webp 1K
check Apk Analyzer assets/plugin.apk/res/ic_launcher_round.webp
size
Expected result:
ic_launcher_round.webp
display 1k
Actual result:
ic_launcher_round.webp
display 10k
Pls check attachment main.apk or main.png
Studio Build: Android Studio Giraffe | 2022.3.1
OS: N/A
an...@mavenclinic.com <an...@mavenclinic.com> #3
Hi, @rp...@google.com
Is there any update on this issue?
aa...@google.com <aa...@google.com> #4
Just had a chance to look at this -- seems like we're looking up the zip entry from the wrong zip manifest. I'll see what I can do about this.
an...@mavenclinic.com <an...@mavenclinic.com> #5
This has been fixed, will be out in Canary (or something) in a couple of releases.
vs...@google.com <vs...@google.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 3
- Android Gradle Plugin 8.8.0-alpha03
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!
vs...@google.com <vs...@google.com> #7
I can confirm that:
- this was a regression introduced in L.2 Canary 2. It should be fixed by Canary 4 (built later this week).
- the issue doesn't exist in the current stable or the upcoming L.1 releases.
The root cause of the issue was a refactor across a couple of systems, and a check for whether Gemini is active went missing in the new code.
vs...@google.com <vs...@google.com> #8
Fixed by ag/I6ee7f3d8d8e7, should be in L.2 Canary 4.
And just to clarify the expected behavior:
- When the user is logged in to Gemini, we will show the "Ask Gemini" as a link in logcat for exceptions.
tracks adding a setting so that even users who are logged in to Gemini don't see such a link.b/363791805 - Users who are not logged in should never see a link.
an...@mavenclinic.com <an...@mavenclinic.com> #9
Great, thanks for clarification and quick fix!
an...@google.com <an...@google.com> #10
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!
Description
####################################################
Please provide all of the following information, otherwise we may not be able to route your bug report.
####################################################
1. Describe the bug or issue that you're seeing.
Android Studio appends "Ask Gemini" to the title message of every stack trace in Logcat
I imagine that this is intentional. But as a fairly senior engineer working for a company that has a "no company specifics in generative AI" policy, this is a nightmare, as tools will now encourage engineers to violate company policy.
What is even worse is that it is not even obvious that the "Ask Gemini" text is being added by Android Studio and isn't part of the exception message itself, making it possible that more junior engineers might reasonably think that asking gemini is the right thing to do for a given stack trace. What's even dumber is that it's a prompt with no action. I expect pithy deceptive engagement seeking design like this from social media apps; seeing it in tools is incredibly disappointing.
2. Attach log files from Android Studio
n/a
3. If you know what they are, write the steps to reproduce:
Anything that causes a stack trace to appear in logcat.
In addition to logs, please attach a screenshot or recording that illustrates the problem.
For more information on how to get your bug routed quickly, see
Build: AI-242.21829.142.2422.12358220, 202409120329
AS: Ladybug Feature Drop | 2024.2.2 Canary 2
AI-242.21829.142.2422.12358220, JRE 21.0.3+-79915917-b509.11x64 JetBrains s.r.o., OS Mac OS X(aarch64) v13.7, screens 3456x2234 (200%)
Android Gradle Plugin: 8.1.4
Gradle: 8.10
Gradle JDK: Eclipse Temurin 17.0.12 - aarch64
NDK: from local.properties: (not specified), latest from SDK: (not found)
CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
Source: send_feedback_icon```