Computer >> Máy Tính >  >> Hệ thống >> Windows

Bạn muốn dùng thử Surface Duo? Dưới đây là cách để trình giả lập Surface Duo chạy trên PC chạy Windows 10 của bạn

Điện thoại thông minh màn hình kép của Microsoft, Surface Duo, sẽ không ra mắt trong ít nhất 11 tháng nữa, nhưng nếu bạn hào hứng với nó, bạn có thể mô phỏng trải nghiệm Surface Duo ngay trên PC của mình. Điều này có thể được thực hiện với Surface Duo SDK do Microsoft phát hành gần đây (và hiện dành cho Mac).

SDK này dành cho các nhà phát triển viết mã và trình diễn ứng dụng của họ trên Surface Duo mô phỏng, nhưng bất kỳ ai có kiến ​​thức tốt về Windows cũng có thể tự mình dùng thử - bất kể họ có phải là nhà phát triển hay không.

Trong hướng dẫn này, chúng tôi sẽ chỉ cho bạn cách bạn có thể dùng thử Surface Duo SDK và tải xuống trình giả lập Surface Duo trên PC chạy Windows 10 của mình để tận hưởng trải nghiệm Microsoft Android màn hình kép đó. Tuy nhiên, hãy lưu ý, đây là một quy trình rất kỹ thuật.

Một số điều kiện tiên quyết

Trước khi bắt đầu, có một số điều kiện tiên quyết bạn cần lưu ý. Bạn sẽ cần tải một vài chương trình dành cho nhà phát triển xuống PC chạy Windows 10 của mình và bạn cần đảm bảo rằng một số tùy chọn cài đặt đã được bật.

Ngoài ra, trước khi cài đặt, bạn sẽ cần khoảng 15-20GB dung lượng trống trên PC của mình, chỉ để an toàn. Ngoài ra, xin lưu ý rằng trình giả lập Surface Duo rất nhiều lỗi và không hỗ trợ Cửa hàng Google Play, vì vậy trải nghiệm của bạn sẽ rất hạn chế đối với một số ứng dụng có sẵn và thử giao diện người dùng. Đây là danh sách kiểm tra dành cho bạn.

  • Đảm bảo rằng Hyper V, Hyper V Management Tools, Hyper V Platform, Virtual Machine Platform và Windows Hypervisor Platform được chọn trong Đã bật hoặc tắt các tính năng của Windows tiết diện. Bạn có thể tìm thấy điều này bằng cách tìm kiếm Bật hoặc tắt các tính năng của Windows từ Menu Bắt đầu.
  • Đảm bảo PC của bạn có ít nhất 4GB RAM, mặc dù 8GB được khuyến nghị.
  • Đảm bảo rằng ảo hóa phần cứng được bật trong BIOS hệ thống của bạn.
  • Cài đặt phiên bản Android Studio mới nhất, có sẵn từ Google tại đây. Bạn cũng sẽ cần sử dụng trình quản lý SDK trong Android Studio để đảm bảo rằng tất cả các công cụ mô phỏng Android đã được cài đặt.
  • Tải xuống bản cài đặt Visual Studio Community 2019 và đảm bảo rằng tất cả các công cụ dành cho nhà phát triển Android đã được cài đặt.
  • Tải xuống trình giả lập Surface Duo từ Microsoft

Bước 1:Cài đặt Android Studio

If you've already enabled the Windows Features above, and have support for Hardware Virtualization on your PC, you're set to go. You can head to Google's website an download Android Studio. It's a 719MB file, so you'll need to be patient. Once done, double click to run it, and be patient while it installs. You'll need around 2.3GB of free space on your PC for the files as things are extracted during install.  This step is very important, as Android Studio has the underlying Android files for the Surface Duo emulator. If you skip this step the emulator will NOT work.

After install, you'll be prompted to import Android Studio Settings. Skip this, and choose to Do not Import Settings. You can then choose Standard  and continue on. You'll get to pick a theme, and then you'll see a list of SDK components. Keep clicking the blue Next button, and then Finish . You'll have to wait while the required SDK tools install. It'll be roughly 500MB extra worths of files that need to be download and installed. Once done, click Finish .

Once that is done, you'll be able to open Android Studio. Click Start a new Android Studio Project . Pick Add no Activity . Once the project loads, head up to the File menu and choose Settings . You'll then want to click System Settings  in the side bar and click Android SDK. Make sure Android 10 is checked on the list and that it says Installed . And check to see that Intel x86 Emulator Accelerator is installed under SDK Tools. You'll also want to make sure that everything is enabled under SDK Update Sites. If not, click the respected boxes and click OK to install. Once verified, you can close Android Studio.

Step 2:Install Visual Studio 2019

Now that you've installed Android Studio, the second step is to install Visual Studio 2019. This is yet another free download if you choose the Community 2019 edition from the download page. Once the .exe is downloaded, double click to launch it. The Installer will then fetch files, it's roughly a 71MB initial download.

When that initial download completes, the installer will launch Visual Studio 2019. Scroll down the list of Workloads and choose Mobile Development with .NET. You'll then want to choose Install while downloading  and then click the Install button. This will be a 7.26 GB download, and install will take roughly 10 or so minutes. Be patient.

Once everything is installed, you'll get a prompt to sign in. Click Not now, maybe later . You can then choose your theme and click Start Visual Studio . Another window will then pop-up, and click Continue without code . This will open Visual Studio.

To continue, you'll again want to make sure that all the relevant Android SDK tools are installed on your PC. You can do this by clicking the Tools  menu, choose Android and then choose Android SDK Manager . Once selected, check to see that Android 9 or Android 10 are installed. If not, click the box, and Apply Changes  to have VIsual Studio install it. You'll also want to click on the Tools  menu and expand the boxes for Android SDK Tools, Android SDK Build Tools, and Android Emulator.

Make sure you see that it says Installed  under each of these. If not, you'll want to click the box to have Visual Studio download and install. When finished, click Apply Changes. You can then close Visual Studio.

Step 3:Download the Surface Duo SDK

Now that you've got Android Studio, and Visual Studio 2019 installed, you're free to install the Surface Duo SDK. This is the easiest step of them all. All you need to do is download the file from Microsoft's website here. It's roughly a 620MB download, so be patient.

Once downloaded, extract the ZIP to your PC somewhere, preferably in your documents folder. Once extracted, head to where the file was extracted to if you weren't already taken there. You'll notice a file with the Microsoft Logo labeled SurfaceDuoEmulator_2020.117.2. Click it, to run the installer. You'll need an additional 3.6GB of free space for the emulator to install.

Once finished, a shortcut to Surface Duo Emulator will be installed on your PC. You're now free to explore a simulated Surface Duo!

Have fun with the emulator!

Once you launch the Surface Duo Emulator, it will need some time to load. Depending on your PC's hardware, it might take a few minutes. There's not too much to the emulator at the moment, though, as it's mainly meant for developers.

You can preview the Surface Duo dual-screen UI and open some of the stock apps like mail, weather, and Edge. You also can stack apps side by side, or hold an app to the middle to have it open up like a book on the large screen. Edge works fine and will allow you to open webpages. It's a pretty cool experience if you're using it on a Surface or touch screen PC. So be sure to check it out, and let us know your thoughts in the comments below!