android studio freezes

asked 2016-08-23 08:19:18 -0500

eirik91 gravatar image

Hi there. so my android studio works great, not slow at all, BUT when I hit the run or debugg button to run an app, or debugg an app, my entire computer freezes. I cant find any error messages, but im abit new to both fedora and android studio. Im running a fedora 24 on Aspire E15 laptop. I've tried power save mode in android studio, i've tried with both high and low memory settings. still, it freezes the second after I press the run button. To get the computer back running I have to shut it down with the button. Feel free to ask if u need more info, or if u have any tips how I can get more info that would also be great.

-Thx.

edit retag flag offensive close merge delete

Comments

You did not mention your CPU or RAM, also do you have installed kvm or virt-manager or qemu?

aeperezt gravatar imageaeperezt ( 2016-08-23 09:24:57 -0500 )edit

the cpu of android studio goes evrything from 10-97 as I run it. always lets it cooldown to a stabil 10-30 ish before I try pushing the run, but still its just a insta freeze. if u are thinking the ram of my computer its 8. and I have genymotion, and to run genymotion I also need to have virtualbox=) hope that helped out abit.

eirik91 gravatar imageeirik91 ( 2016-08-23 09:48:11 -0500 )edit

Well, as far as I understand to run you Android app it launch virtual machine, normally will run with qemu as it can run arm machines. If you have virtualBox there maybe your issue. Maybe you need to configure something to make it work with virtualbox.

aeperezt gravatar imageaeperezt ( 2016-08-23 11:22:08 -0500 )edit

I cant see anywhere that I need anything but android studio and java to be honest. would anyone be able to tell if I do or not? I have just re-installed entire fedora 24, and made my swap file alot higher, since that one was pretty low after last, and some other problems I had that I had to fix up also. re-installed android studio following http://tutorialforlinux.com/2016/02/2... to evry bit, still it freezes on me as I try to hit the run button. -Thx

eirik91 gravatar imageeirik91 ( 2016-08-25 11:43:46 -0500 )edit