Faster Android development

This question already has an answer here:

  • Why is the Android emulator so slow? How can we speed up the Android emulator? [closed] 78 answers

  • is there any lightweight version of the emulator

    No.

    is there some lighter IDE than Eclipse which supports Android development and Android debugger

    Short answer: no. But, you can use the android tools to set up a project, use any plain text editor to edit java sources and use ant to compile everything and adb to install to the emulator.

    See http://developer.android.com/guide/developing/other-ide.html


    you can code in any text editor or java ide. The Android SDK supports command line compiling. Using eclipse is just the easiest way to do so.


  • "Close" any projects you're not currently working on.
  • If you right-click and choose "Close Project" it will prevent Eclipse allocating any memory to them. This reduces the memory used, speeds up start-up time and the reduces likelihood of your computer using the paging file if it's low on memory.

  • Definitely follow the advice above about doing your debugging on a real device, not an emulator, as this significantly reduces the amount of memory used.

  • You can create a project in Eclipse but for some sessions leave Eclipse closed and just update the files using a lightweight code editor. Only switch to Eclipse when you need auto-completion from the SDK, to debug or anything else the IDE provides. Press F5 in Eclipse to re-sync the files.

  • Finally, the more you split your code into separate files, the quicker it will be for Eclipse to rebuild the workspace when you save a file.

  • 链接地址: http://www.djcxy.com/p/85472.html

    上一篇: 如何提高模拟器的速度?

    下一篇: 更快的Android开发