[Q] Slow startup - Android Studio

I have an Intel i7-4770 3.4GHz system with 24 GB of ram and it takes about 3-5 minutes to start Android Studio after clicking on the icon on the Desktop. I am running the latest Windows 8.1 OS.
Has anybody seen something like this? It didn't used to be so bad. I've been using it for about one year, from beta to the current stable release. Are there any fixes I can do to help this out? Maybe uninstalling and installing again?

It is the same in all Android Studio versions

adam_beers said:
I have an Intel i7-4770 3.4GHz system with 24 GB of ram and it takes about 3-5 minutes to start Android Studio after clicking on the icon on the Desktop. I am running the latest Windows 8.1 OS.
Has anybody seen something like this? It didn't used to be so bad. I've been using it for about one year, from beta to the current stable release. Are there any fixes I can do to help this out? Maybe uninstalling and installing again?
Click to expand...
Click to collapse
I have the same issue too, a Intel i7-2.4G + 8GB RAM, the starting of Android Studio is very slow, taking about 5 minutes. After the slow starting, it works good when editing source code.
The latest version Android Studio 1.3 isn't very good for everyday use.

adam_beers said:
I have an Intel i7-4770 3.4GHz system with 24 GB of ram and it takes about 3-5 minutes to start Android Studio after clicking on the icon on the Desktop. I am running the latest Windows 8.1 OS.
Has anybody seen something like this? It didn't used to be so bad. I've been using it for about one year, from beta to the current stable release. Are there any fixes I can do to help this out? Maybe uninstalling and installing again?
Click to expand...
Click to collapse
It seems to have a lot to do with the damn indexing it does.
I resorted to killing the indexing services in windows process explorer and it seemed to speed the project load up some what.
I was having problems with being able to re-load a newly created project. But it was probably because the IDE was bogged down in indexing and just had not finished.
The developers need to add a means of disabling this indexing because it is a pain!
At one stage it was taking me 30 seconds or more to enter a friggin image asset id - I don't know what that was about but it was damned infuriating.
No other programming related software I have ever used has had these problems.

Related

Android on your PC

For anyone that's interested in running Android on their PC see the link below. It can either be natively run or run in a Virtual Enviroment with VMware or Virtualbox.
I'm currently trying it out with VMware and everything seems to working just fine, play store, you tube, internet, even sound is working. The only thing I've come across is the gallery force closes.
http://www.android-x86.org/
For a quick and easy setup to run in VMware or Virtualbox download the image from here: http://www.osboxes.org/android-x86/
See the screenshots below of it running on my Desktiop:
Thanks for the heads-up @ashyx, just had it running in VirtualBox on Kubuntu 14.04. It was a little buggy, kept getting playstore FCs fairly constant, even though I signed into Google.
Apart from that it runs well enough, I'm a little busy dealing with a dead hdd on my raid, so I only had a cursory glance, can't wait to spend more time with it when time allows though, thanks again.
rastus.rob said:
Thanks for the heads-up @ashyx, just had it running in VirtualBox on Kubuntu 14.04. It was a little buggy, kept getting playstore FCs fairly constant, even though I signed into Google.
Apart from that it runs well enough, I'm a little busy dealing with a dead hdd on my raid, so I only had a cursory glance, can't wait to spend more time with it when time allows though, thanks again.
Click to expand...
Click to collapse
Strange must be a virtual box issue. Play store was just fine for me. Im using vmware workstation 12 on a Windows 8.1 box.
I even managed to use the 02 TUGO app to send text messages from my pc.
I'm surprised how well it works actually.
Could be 'cause I tried the latest version 4.4-r3 which according to the available downloads, only works on VB. The version previous ver, 4.4-r2 works on both VB and VmW.
Might roll back and see if it works better.
rastus.rob said:
Could be 'cause I tried the latest version 4.4-r3 which according to the available downloads, only works on VB. The version previous ver, 4.4-r2 works on both VB and VmW.
Might roll back and see if it works better.
Click to expand...
Click to collapse
Yes I installed 4.4-r2, however in android build settings it states kk 4.4.4.
ashyx said:
Yes I installed 4.4-r2, however in android build settings it states kk 4.4.4.
Click to expand...
Click to collapse
Got around to giving 4.4-r2 a run, smooth as silk. Playstore updated all the software without a hitch too, so it not only now works, it works well, Much fun coming up.
Where would one get some help setting this up? I've tried several times to get it to boot from a USB hard drive and it just tosses me into the grub> prompt when it boots.....
Really would like to tinker with it. It will run from install but after that...no joy.
EDIT: Got it going! Switched to 4.4.r2 worked a charm!
Kinda neat seeing it run on a AMD Phenom CPU.
flhthemi said:
Where would one get some help setting this up? I've tried several times to get it to boot from a USB hard drive and it just tosses me into the grub> prompt when it boots.....
Really would like to tinker with it. It will run from install but after that...no joy.
EDIT: Got it going! Switched to 4.4.r2 worked a charm!
Kinda neat seeing it run on a AMD Phenom CPU.
Click to expand...
Click to collapse
Its good for developers, better than the Android emulator allegedly.
interesting stuff !

Android Studio crashes a lot

I have been having almost daily Android Studio crashes. I am on version 1.4, it happened on 1.3. Earlier versions would still crash but less often. Is there anything that can be done to reduce these? I have increased memory limits via studio64.exe.vmoptions
-Xms1024m
-Xmx3072m
-XX:MaxPermSize=1024m
-XX:ReservedCodeCacheSize=225m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
Running Win7 with 16 GB RAM and an SSD for system drive. When I open, it shows it using about 1.4 GB in Task Manager. There are no errors shown it just silently crashes randomly while editing code.

Since upgrade to 2.0, Full builds take 3-4 times as long

Don't get me wrong, instant run has sped up development so much, makes debugging easier, it's changed my life. But when I do a full build of the project it now takes 6-8 minutes where it used to take 2. Any ideas on why this might be?
What kind of AVD do u used?
longmtavk said:
What kind of AVD do u used?
Click to expand...
Click to collapse
I test on my own devices. I don't currently use AVD.
What kind of hardware configuration are you working with?
If you have an HDD the first thing I'd suggest is to invest in an SSD, the performance bump is crazy.
Otherwise, allocating more RAM to heap size in android studio should help with you with build times.
You can find instructions here: http://tools.android.com/tech-docs/configuration
Thanks for the advice but I've already increased the heap size and I am on an SSD. I've taken some steps to reduce the time further and I've got it at around 4 minutes for a full build, which isn't great but I can work with it.
I've been looking around on a couple of other sites, and I think the reason is because Android Studio is now indexing the app for instant run when it does a full build.

Player will not install

Tried installing the brand new player on my surface3. When I opened the installer the first time, it prompted me to install .net framework. After that was done, clicking on the installer does nothing. Any one else having this issue?
I had this issue on a Dell venue 8pro, although it might have to do with the fact that it doesn't quite meet the requirements. If someone can get it running on atom hardware I would love to know. Thanks.
I'd one this, had the same problem. I know that my system doesn't meet the system requirement, but at least they inform this to us.
Hi
Trying on an ASUS G75, Intel i7-3630QM, 12GB RAM, Win10 Pro 64.
That should surely meet the prerequisites.
Exactly the same problem : prompted for .NET 3.5, installed it, rebootet PC, click on the remixosplayer.exe -> Nothing!
Even tried compatibility mode.
RemixOS Player shortly appears (less 1 sec.) in Windows Task Manager under "Background Processes, but no Program Window opening, no error message ...
Any Solution would be appreciated.
Thanks in advance
Cheers
Alex
Can you share your PC info like @akever did below? Our standard practice is for you to share it in the related Google form found here: http://bit.ly/2cxZhBs. However, since it's early days for Remix OS Player, all feedback will help its development right now.
Thanks!
Joshua.a.madsen said:
Tried installing the brand new player on my surface3. When I opened the installer the first time, it prompted me to install .net framework. After that was done, clicking on the installer does nothing. Any one else having this issue?
Click to expand...
Click to collapse
I have the same problem on a Surface Pro 4 (Intel i5, 4GB RAM, 128 GB SSD, Windows 10 64 Bit).
It asked me to install .net Framework but after that I only can chose to start and shortly after that to close the application.

are you guys experiencing a worst ram management when updated to android 10 with S10?

I find the recent update One UI 2.0 / android 10 making my ram management worst. Before i don't even notice my apps reloading but now that i'm updated to android 10. i get app reload from time to time. Are you guys experiencing it too?
PierreTech said:
I find the recent update One UI 2.0 / android 10 making my ram management worst. Before i don't even notice my apps reloading but now that i'm updated to android 10. i get app reload from time to time. Are you guys experiencing it too?
Click to expand...
Click to collapse
No I didn't see that through the beta and haven't seen it since I received the release version this morning. I'm on a US Snapdragon S10.
S9 Ram Management Issues
Im on my s9 snapdragon beta 3 and I see major
ram management issues. If I dont restart my
phone for 48 hours, I can open calendar, then
open calculator (the two smallest/lightweight
apps I can think of), just switching between these
two leads to reloading every time.
If I restart my phone everyday, I can open maps,
snapchat, spotify, 5 big apps or 10+ small apps no
problem.

Categories

Resources