Well, Me n my Big Bro were just cruising through the colorful flying thoughts going from our minds, I just said, I wanna try Android programming. "Well.... Go n Try!!!" He just replied casually as he usually do. Because he knows me well, all my dreams go till 2-3 weeks. But this time, I got serious,
Well... Got all the required stuffs. Downloaded ADT pack from Android's developer's site, got O'Reilly's "Head First Android Programming" book. (Personally speaking, I like Head First series when it comes to learn new things.) With all the so-called WEAPONS!! I started ADT and coded my first "Hello World" App in android, configured AVT's.
Ok! I was knowing it will take time. I went here n there, had water, then had my lunch, n then stroll at balcony! After Half an hour... Still the same Android Screen!!!!
I shutted it down, browsed Google for the problem, found that my configuration was toooooo...... low for the AVD.
Well, my system's configuration (Don't Laugh Please after reading.. It hurts!!)
Mother Board: Intel 945
Processor: Intel Pentium 4 3.0GHz
RAM: 2 GB DDR2
OS: Ubuntu 12.04
I found people crying for the same issues with even Quad-Core processors! Well, finally, I found the solution at this link in an answer by Shrikant!
In order to make your AVD fast to load and so your app, just expand it's heap memory!
Here's how I did.
2. Select your already made AVD and click on "Edit..."
3. You will get the "Edit Android Virtual Device" window. In that screen, change the "VM Heap" size (as highlighted) to larger value. 512 recommended, you can choose more if you have bigger RAM's on your PC. Click OK and close AVD Manager window.
That's it!!! Even on the outdated PC's like me, It worked well, and on my system, AVD now gets loaded in a minute!
Will share more hidden tips as soon as I get them through
Till then, Happy Android Programming!
Yours, Akshit :)
No comments:
Post a Comment