Skip to content

Snappy1

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

[FIXED] activity_main.xml for android studio stuck on loading

Posted on November 11, 2022 By

Solution 1 :

In Android Studio try to go to File -> Invalidate Caches/Restart -> Invalidate and restart.
this will help u surely

Solution 2 :

In Android Studio try to go to File -> Invalidate Caches/Restart -> Invalidate and restart.

Solution 3 :

Firstly you need to try that option
Go to Build-> Clean Project

After clean your project complete
Go to Build-> Rebuild Project

IF that thing does not solve the problem then
Please
Go to File->Invalidate Cache/Restart-> Invalidate and restart
Actually

Android Studio makes a lot of files as caches and does not delete them. This can cause trouble when there is a need to make new files, so clearing caches will clear the old cache and make Android Studio faster and Smooth.
Hope that will hep you

Solution 4 :

Step 1:

Close all opened project and bring back Android Studio Welcome Screen.

Step1

Step 2:

Select Configure

Step2

Step 3:

Select Restore Default Settings...(Restore and Restart)

Step3

Step 4:

Setup Android Studio as new

OR

Install new version of Android Studio

Problem :

I just downloaded Android Studio to make an app for my STEM competition. I tried making an app, opened the activity_main.xml file, but it is stuck on loading! It says, `

“Gradle: download gradle-5.6.4-all.zip…”.

enter image description here

Comments

Comment posted by Zain

Make sure you are connected to the internet … Does the gradle actually download their files if so?

Comment posted by stackoverflow.com/questions/52905774/…

have you tried this?

Comment posted by Joseph Jang

Yea… I tried both of the answers but it doesn’t work… :p

READ  [FIXED] Android apk file too big when using FFMPeg encoder library
Powered by Inline Related Posts
Android Tags:android, android-studio, loading

Post navigation

Previous Post: [FIXED] android – Convert BMP image to PNG or JPG in Java without loading the entire image in memory
Next Post: [FIXED] xml – Android – prevent TextView to push out another element inside LinearLayout

Related Posts

[FIXED] android – How to center a widget inside a stack and moving it programmatically? Android
[FIXED] java – Android TextInputEditText/TextInputLayout cuts off error message Android
[FIXED] android – SupportFragmentManager doesn’t see view id Android
[FIXED] android – How do I send data from server to an app? Android
[FIXED] java – strftime(‘%m’,date) returns wrong month value only for 2 months Android
[FIXED] android – The solution for the picker issue appears loading, how to fix it? 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

  • What is the rising action in Julius Caesar?
  • How do you secure a rope to itself?
  • Does waterproof laminate scratch easily?
  • What makes a building prewar?
  • What can you learn in a month without alcohol?

Recent Comments

No comments to show.

Copyright © 2023 Snappy1.

Powered by PressBook Grid Dark theme