简体   繁体   English

Android模拟器测试

[英]Android emulator test

I am working on server-client architecture with mobile platforms and remote database. 我正在研究具有移动平台和远程数据库的服务器-客户端体系结构。 I have a local server, then i coded android programs which are clients of my local server. 我有一个本地服务器,然后我编码了作为本地服务器客户端的android程序。

My computer has : 我的电脑有:

  1. 8 GB ram 8 GB内存
  2. Windows 7 64 bit Windows 7 64位
  3. Intel i7 2.93GHz 英特尔i7 2.93GHz

so i want to test my application with more emulator and i tried to open 10 or more emulator, but my computer could not. 所以我想用更多的模拟器来测试我的应用程序,并且尝试打开10个或更多的模拟器,但是我的计算机不能。
Is there any way to trying more emulator to test my application? 有没有办法尝试更多的模拟器来测试我的应用程序?
I need 10 or more testing client machine on local 我在本地需要10个或更多测试客户端计算机

我会研究诸如genymotion或使用Intel HAXM加速仿真器的商用仿真器

Ok, A thing to try would be to run 4 virtual machine using the vmware software. 好的,可以尝试使用vmware软件运行4个虚拟机。 Each emulator can then run a like 3 virtual devices then connect to your main host and test your app. 然后,每个仿真器都可以运行3个虚拟设备,然后连接到您的主主机并测试您的应用。 All the virtual machines would connect to the host's local network with minimal configuration. 所有虚拟机将以最小的配置连接到主机的本地网络。 From there, each of the virtual devices running on the virtual machines can have access to the host's local network. 从那里,虚拟机上运行的每个虚拟设备都可以访问主机的本地网络。

My two cents: 我的两分钱:

  1. Be sure you're running Intel HAXM as mach mentioned above. 请确保您正在运行英特尔HAXM马赫如上所述。

  2. If the bottleneck is a RAM limitation, thus try to increase the SWAP size in Windows System settings, but take into account, this will dramatically decrease the overall system performance, especially if you have HDD and not SSD. 如果瓶颈是RAM限制,请尝试在Windows系统设置中增加SWAP大小,但要考虑到这一点,这将大大降低整体系统性能,尤其是在具有HDD而没有SSD的情况下。

您可以尝试Genymotion和蓝色堆栈以及Intel HAXM和默认仿真器,这样您就可以达到目的了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM