http://www.bluestacks.com/ http://www.bluestacks.com/
Download and install it, as shown below.下载并安装它,如下所示。
Click the " LET'S GO " button and log in to a Google account.点击“ 让我们开始 ”按钮,然后登录Google帐户。 You'll need to provide a Google login.您需要提供Google登录信息。
When it's done, you'll see the BlueStacks home page, as shown below.完成后,您将看到BlueStacks主页,如下所示。
Troubleshooting故障排除
If Bluestacks won't start, or freezes, it's usually a problem with the graphics settings.如果Bluestacks无法启动或冻结,通常是图形设置的问题。Use Task Manager to kill Bluestacks and start it again.使用任务管理器终止Bluestack并再次启动它。 While it's starting, at the top right, click the gear icon.在它开始时,在右上角,单击齿轮图标。
In Settings, click the Engine tab.在“设置”中单击“ 引擎”选项卡。 Try different settings, such as OpenGL , as shown below.尝试不同的设置,例如OpenGL ,如下所示。 It may also help to use a lower resolution on the Display tab.在“ 显示”选项卡上使用较低分辨率也可能有所帮助。
To do that, some adjustments are needed in VMware Settings.为此,VMware Settings中需要进行一些调整。
Launch " Windows Firewall ", as shown below.启动“ Windows防火墙 ”,如下所示。
On the left side, click " Turn Windows Firewall on or off ".在左侧,单击“ 打开或关闭Windows防火墙 ”。
Check both " Turn off Windows Firewall (not recommended) " buttons, as shown below.选中“ 关闭Windows防火墙(不推荐) ”按钮,如下所示。
Click OK .单击确定 。
On your Windows machine, in Control Panel, open the Firewall utility and turn off the Firewall.在Windows计算机上的“控制面板”中,打开“防火墙”实用程序并关闭防火墙。
Right-click " Command Prompt " and click " Run as Administrator ".右键单击“ 命令提示符 ”,然后单击“ 以管理员身份运行 ”。
In the Administrator Command Prompt window, execute this command:在“管理员命令提示符”窗口中,执行以下命令:
You should see a LISTENING port on the loopback address, as shown below.您应该在环回地址上看到一个LISTENING端口,如下所示。netstat -an | netstat -an | findstr "5555" findstr“5555”
netsh interface portproxy add v4tov4 listenport=5556 listenaddress=0.0.0.0 connectport=5555 connectaddress=127.0.0.1 netsh interface portproxy add v4tov4 listenport = 5556 listenaddress = 0.0.0.0 connectport = 5555 connectaddress = 127.0.0.1
To see that it's working, execute this command:要查看它是否正常工作,请执行以下命令: You should see a LISTENING port on the arbitrary address "0.0.0.0", as shown below.您应该在任意地址“0.0.0.0”上看到一个LISTENING端口,如下所示。netstat -an | netstat -an | findstr "5556" findstr“5556”
ip addr ip addr
Find the IP address of the interface that goes to the host, which is usually "eth0", as highlighted in the image below.找到进入主机的接口的IP地址,通常为“eth0”,如下图所示。 On the host computer, execute ipconfig and find the interface address that's on the same subnet as the Kali machine.在主机上,执行ipconfig并找到与Kali机器位于同一子网的接口地址。
You see a device attached, as shown below.您会看到连接的设备,如下所示。apt update apt更新 apt install android-tools-adb -y apt安装android-tools-adb -y adb connect 172.16.123.1:5556 adb connect 172.16.123.1:5556 adb devices -l adb devices -l