bluestacks 爬虫
If you are an android developer then you may know that you can run your Android projects using Android Virtual Device (AVD) or using your android smartphone connected to computer. As an android programmer I use AVD. But Android Virtual Device (AVD) takes lot of time for starting first time. Each time we run project it takes again lot of time. Its really irritating for people like me who have 4GB of RAM, because AVD and Android studio consumes lot of RAM and hangs the system.
如果您是android开发人员,则可能会知道可以使用Android虚拟设备(AVD)或连接到计算机的android智能手机来运行Android项目。 作为一名Android程序员,我使用AVD。 但是Android虚拟设备(AVD)第一次启动会花费很多时间。 每次我们运行项目时,都会花费很多时间。 对于像我这样拥有4GB RAM的人来说,这确实令人不快,因为AVD和Android studio会消耗大量RAM并挂起系统。
Today I was searching for this and found a great solution. There is another way to run Android Studio projects using Bluestacks. Bluestacks is an android emulator that is capable of running android applications in computer. It consumes very less memory and also runs project fast as compared to AVD. It can be great option in case your AVD is not working. So below I am sharing some simple steps by which you can connect Android Studio to Bluestacks and then run android projects.
今天,我正在寻找这个,并找到了一个很好的解决方案。 还有另一种使用Bluestacks运行Android Studio项目的方法。 Bluestacks是一个android模拟器,能够在计算机上运行android应用程序。 与AVD相比,它占用的内存更少,并且运行项目的速度也更快。 万一您的AVD无法正常工作,这可能是个不错的选择。 因此,在下面,我分享一些简单的步骤,您可以通过这些步骤将Android Studio连接到Bluestacks,然后运行android项目。
如何将Android Studio连接到Bluestacks (How to Connect Android Studio to Bluestacks)
1. First of all start Bluestacks. If you don’t have Bluestacks installed in your computer then you can download it from below link. http://sh.st/tCqIT
1.首先启动Bluestacks。 如果您的计算机中未安装Bluestacks,则可以从下面的链接下载它。 http://sh.st/tCqIT
2. Now open Android Studio and then open your project.
2.现在打开Android Studio,然后打开您的项目。
3. Click on Run button located at the top of Android Studio window.
3.单击位于Android Studio窗口顶部的“运行”按钮。
4. A new window will open that will automatically detect the Bluestacks.
4.将打开一个新窗口,它将自动检测Bluestacks。
5. Now just select it and click on OK button to run your project.
5.现在只需选择它,然后单击确定按钮即可运行您的项目。
Below I have added a video tutorial that will help you.
在下面,我添加了一个视频教程,可以为您提供帮助。
This was the simple method to run Android Studio projects using Bluestacks emulator. Comment below if you are getting any problem.
这是使用Bluestacks模拟器运行Android Studio项目的简单方法。 如果您有任何问题,请在下面评论。
翻译自: https://www.thecrazyprogrammer.com/2015/07/how-to-connect-android-studio-to-bluestacks.html
bluestacks 爬虫