Okay I am reading posts from people saying their Android SDK emulators super slow but seeing them run on Intel Celeron processors with only 1.5 GB of RAM. I get it this set up is of course not very powerful for developing Android applications. But I have an HP Pavilion g7-1365dx with an AMD A6-3600 quad cord processor with AMD Radeon HD 6520G Discrete-Class Graphics and 4 GB of RAM. While the processor was released in 2011, so fairly new technology. Someone please tell me why it takes so long to fire up Android emulators and what can be done to speed it up to an acceptable level? Note I have a multi boot system and have tried to debug android applications under Debian 6.0 (Squeeze) linux, Ubuntu 12.04 and Windows 7 Home Premium. All three operatings systems result in the same totally unacceptable development environment. I have many many changes to the UI, just an ordinary UI with buttons, linear and relative layouts, listviews, etc. No Open GL programming whatsoever in this application. The slowness in the application I noticed are HttpGet and HttpPost calls of which for all of my activities I took it upon myself to add code before all HttpGet calls something like this:
if (debugMode) {
Take hard coded JSON string of stock data and deserialise it instead of going to
the network.
return the data without calling the network;
}
This has the effect of circumventing the network calls just so I can populating my controls and seeing what it will look like in the emulator. Note it doesn't even get to this code because it is still trying to just launch the application So it is not my code.
Please all of you skeptics out there that do not believe me that it isn't my code. I created a totally clean Android applcation project stock from the SDK with not a single line of code of mine in it and even this takes forever (like in excess of 15 minutes).
I noticed that launching apps on real devices are lightning fast in comparison. So is it true that android application developers, in order to be effective developers just simply have to have a four or five real devices of varying screen sizes (small, normal, large and xlarge) with a few combinations of screen densities? To me I cannot see doing development on emulators as being possible. Please help. Information on this topic is limited. Yes loads of people talk about this problem, but I am seeing not a single real honest solution to this problem. As you can see my dev box is only a couple years old. So why is this such a problem?