Gingerbread emulator instance is much more sluggish than Froyo and below. Why?

后端 未结 6 1067
悲&欢浪女
悲&欢浪女 2020-12-29 10:01

I\'m not sure if anyone else noticed it, but the Gingerbread emulator runs like a dog, with both scrolling, navigating, interaction - all taking much longer and being much c

6条回答
  •  灰色年华
    2020-12-29 10:39

    My Suggestions:

    Only attach an SD Card if you need it and most likely don't allocate more then you need. This must be emulated in some fashion.

    Any other properties should not be inflated beyond your target device. If you increase the VM application heap size and you exceed values of real devices they will have crashes that you did not even notice during development.

    Admittedly the defaults are not enoughs for certain applications and the Device Ram should be at least 258 to the limits of your target android device. Also remember that if your development host machine is low on memory then the memory you allocated for your emulator will have to be swapped and providing a smaller amount will avoid unnecessary page hits.

提交回复
热议问题