Skip to content

Snappy1

  • Home
  • Android
  • What
  • How
  • Is
  • Can
  • Does
  • Do
  • Why
  • Are
  • Who
  • Toggle search form

[FIXED] Android studio 3.6 Layout editor lags when displaying Button attributes

Posted on November 11, 2022 By

Solution 1 :

Anyone facing AS freeze while editing XML or editing Material components like Button, do the following steps:

Open Layout Editor -> Click on Attributes Tab -> Settings Icon -> Will show list of options, disable all options with “Attributes”, like “All Attributes”, “Common Attributes”, “Declared Attributes”

Will solve the issue for now.

UPDATE:
Issue is already reported and AS team is working on the fix:
https://issuetracker.google.com/issues/139716861
Actual fix requires new AS release or 4.1 canary 10 (as per AS Team comment).

Problem :

Basically every time i try to Select Button or anything that extends Button (AppCompatButton, MaterialButton)

Android studio freezes for few seconds when selecting Button in layout editor. every other component works normally (i think so).

On new project this behavior is not present.

p.s. 3.5.{latest} also had this issue but it was less annoying since xml editor and layout editor was two separate things.

Simply putting marker on anything that is inside xml button declaration (in my layout) causes this lag of (3-4 seconds). In that period of time i can’t use Android studio at all.

So my question is what could cause such behavior and how could i avoid it?

Comments

Comment posted by Prakash Bala

Happens for me also.. Im Using Macbook Pro.

Comment posted by Alpha

@PrakashBala When i was switching from Android studio 3.6 to 4.0 just to test if it might address the issue, i had moment when project sync is failing. At that moment there were no lags selecting the button.

Comment posted by Alpha

Just checked it. Working solution. Since there was no explanation on why this could happen and how this could be avoided, I just accept your answer.

READ  [FIXED] android - Camera2 CaptureResult.CONTROL_AF_STATE - INACTIVE
Powered by Inline Related Posts

Comment posted by issuetracker.google.com/issues/139716861

@Alpha It is known issue:

Android Tags:android, android-studio-3.6

Post navigation

Previous Post: [FIXED] android – How to pass data by Back Button, Kotlin
Next Post: [FIXED] Project with external module issue in android studio 3.6

Related Posts

[FIXED] android – I can’t send data to sqlite to database Android
[FIXED] java – Trying To Open Up A New Screen/Activity In Android Android
[FIXED] android – Observer is triggered twice even though the observed variable is changed once Android
[FIXED] android – Flutter I cant update my text when i check double variable with getx Android
[FIXED] android – RecyclerView scrolls to top after adding items Android
[FIXED] php – RESTful API with Volley Kotlin doens’t work Android

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022

Categories

  • ¿Cómo
  • ¿Cuál
  • ¿Cuándo
  • ¿Cuántas
  • ¿Cuánto
  • ¿Qué
  • Android
  • Are
  • At
  • C'est
  • Can
  • Comment
  • Did
  • Do
  • Does
  • Est-ce
  • Est-il
  • For
  • Has
  • Hat
  • How
  • In
  • Is
  • Ist
  • Kann
  • Où
  • Pourquoi
  • Quand
  • Quel
  • Quelle
  • Quelles
  • Quels
  • Qui
  • Should
  • Sind
  • Sollte
  • Uncategorized
  • Wann
  • Warum
  • Was
  • Welche
  • Welchen
  • Welcher
  • Welches
  • Were
  • What
  • What's
  • When
  • Where
  • Which
  • Who
  • Who's
  • Why
  • Wie
  • Will
  • Wird
  • Wo
  • Woher
  • you can create a selvedge edge: You can make the edges of garter stitch more smooth by slipping the first stitch of every row.2022-02-04
  • you really only need to know two patterns: garter stitch

Recent Posts

  • Can VPN be traced by police?
  • Where were Kaiser-Frazer cars built?
  • How do you make gold rose gold paint?
  • What are the newest type of dentures?
  • Can you wear joggers as dress pants?

Recent Comments

No comments to show.

Copyright © 2023 Snappy1.

Powered by PressBook Grid Dark theme