第三方模拟器曾经是在Windows计算机上运行Android应用程序的唯一方式。Windows 11中的适用于Android的Windows 子系统(Windows Subsystem)( WSA )现在允许您通过Amazon Appstore安装Android应用程序。
与Google Playstore不同,Amazon Appstore的(Amazon Appstore)Android应用程序数量有限。您还需要一个位于美国的亚马逊(Amazon)账户才能使用亚马逊应用商店(Amazon Appstore)。从非官方来源旁加载应用程序可让您绕过此要求并在您的 PC 上安装任何Android应用程序。(Android)本教程重点介绍了在Windows 11中旁加载(Windows 11)Android应用程序的不同方法。
要旁加载应用程序,您的 PC 必须启用硬件虚拟化。(Hardware Virtualization)此外,您设备的地区必须设置为United States。有关这些要求的更多详细信息,请参阅我们关于在 Windows 11 上安装 Android 应用程序的教程。(our tutorial on installing Android apps on Windows 11)
您可以通过命令提示符(Command Prompt)或第三方Android安装程序在Windows 11中旁加载(Windows 11)Android应用程序。(Android)我们将向您展示如何做到这两点。
(Sideload Android Apps)使用命令提示符(Windows Using Command Prompt)在Windows 中旁加载 Android 应用程序
首先,您需要在计算机上设置Android 软件开发工具包(Android Software Development Kit)( SDK ) 和Android 调试桥(Android Debugging Bridge)( ADB )。
使用 Web 浏览器访问 Android 开发人员网站(Android developer website)上的SDK 平台工具(SDK Platform Tools)页面,然后按照以下步骤操作。
- 滚动到Android开发者网站的“下载”部分,然后选择Download SDK Platform-Tools for Windows。
- 检查我已阅读并同意上述条款和条件,然后选择Download Android SDK Platform-Tools for Windows。
- 右键单击(Right-click)下载的ZIP文件并选择Extract All。
- 选择提取(Extract)按钮将文件提取到框中显示的文件夹中。选择“浏览(Browse)”按钮将文件解压缩到不同的文件夹。
- 打开平台工具文件夹。
- 选择地址栏并按Ctrl + C复制文件夹路径。
- 按(Press)Windows键并在Windows 搜索(Windows Search)栏中键入 windows 子系统。选择(Select Open)“ Android 设置的(Android Settings)Windows 子系统(Windows Subsystem)”应用下方的“打开” 。
- 选择(Select Developer)侧边栏上的开发人员并打开开发人员(Developer)模式。
- 选择 IP 地址行中的复制(Copy)按钮。
- 如果 IP 地址显示为“不可用”,请
选择刷新按钮。(Refresh)
如果 IP 地址仍然不可用,请选择管理(Manage)开发人员设置,等待 10-20 秒,然后再次选择刷新(Refresh)按钮。这有助于揭示我们测试计算机的用于 Android 的 IP 地址
的Windows 子系统。(Windows Subsystem)
(Close)如果 IP 地址在多次刷新后仍然不可用,请
关闭并重新打开适用于Android的(Android)Windows 子系统。(Windows Subsystem)
- 下载(Download)您要在计算机上安装的Android应用程序的APK文件。APKMirror、APK4Fun和APKPure是(APKPure)为 Android 应用下载 APK 文件的(safest platforms to download APK files for Android apps)一些最安全的平台。确保将应用程序的APK文件保存在 platform-tools 文件夹中(参见步骤 #6)。
- 打开开始(Start)菜单,搜索命令提示符,然后选择以管理员身份运行(Run)以管理员权限打开命令提示符(Command Prompt)。
- 键入(Type)cd,留一个空格,粘贴 platform-tools 文件夹路径(参见步骤 #6),然后按Enter。该命令应如下所示:
cd C:UsersLenovoDesktopplatform-tools_r33.0.2-windowsplatform-tools
- 键入(Type)adb connect IPAddress(将IPAddress替换为在步骤 #11 中复制的 IP 地址)并按Enter。该命令应如下所示:
亚行连接 192.163.6.172
- 接下来,键入 adb install ApkName(将ApkName替换为您要旁加载的APK文件的名称和扩展名)。按 Enter(Press Enter)运行命令。
我们正在 Windows 11 计算机上侧载Subway Surfers应用程序,因此我们将运行以下命令:adb install metro-surfers.apk。
安装应用程序时,命令提示符(Command Prompt)将显示“正在执行流式安装”消息。当您收到“成功”消息时,请检查您 PC 的应用程序列表中的旁加载应用程序。
该应用程序应作为最近添加的项目出现在“开始”菜单(Start Menu)的“推荐”部分。
- 选择应用程序以在您的计算机上运行它,就像您打开常规Windows应用程序一样。您还可以将应用固定到开始菜单(Start Menu)或任务栏(Taskbar)。
如果您在旁加载APK文件时遇到困难,请关闭命令提示符(Command Prompt)和Android 子系统(Android Subsystem),然后从头开始重新启动该过程。请记住(Remember)将要旁加载的APK文件移动到 platform-tools 文件夹。
(Sideload Android Apps)使用 WSATools(Using WSATools)在Windows 11上旁加载(Windows 11) Android 应用程序
WSATools是第三方软件,可让您在Windows 11中旁加载 Android 应用程序,而无需运行命令提示符命令(Command Prompt commands)。下载您要旁加载的Android文件的(Android)APK文件,然后按照以下步骤操作。
- 打开Microsoft Store应用,在搜索栏中键入 wsatools,然后按Enter。
- Microsoft Store应打开WSATools应用预览。选择获取(Get)按钮以在您的 PC 上安装该应用程序。
- 打开 WSATools 继续。
- 选择安装 APK 按钮。
- 您将收到下载并安装Android Debug Bridge的提示。选择安装(Install)按钮继续。
- 下载ADB后,选择(ADB)Select Folder按钮以选择WSATools应安装ADB的目标文件(ADB)夹(WSATools)。
- 选择一个目标文件夹并选择在此处安装 ADB(Install ADB)。
- 找到(Locate)并选择要侧载的应用程序的APK文件,然后选择Load APK。
- 选择安装。
安装完成后, WSATools(WSATools)应该会显示一条成功消息。打开 PC 的开始菜单(Start Menu)以启动新安装的应用程序。如果WSATools卡在安装进度页面,请关闭并重新打开WSATools,然后重试。
你的电脑不是安卓设备
并非所有Android应用程序都可以在您的计算机上运行,尤其是需要Google服务的Google应用程序。(Google)目前,亚马逊(Amazon Appstore)应用商店中有超过 1,000款Android应用。亚马逊(Amazon)和微软(Microsoft)承诺将继续开发市场,因此它支持更多应用程序。
因此,在不久的将来,您可能几乎不需要从非官方来源旁加载或安装应用程序。在此之前,请使用本教程中的工具和技术在您的 Windows PC 上
运行Android应用程序。(Android)
How to Sideload Android Apps in Windows 11
Third-party emulators υsed to be the only way to run Andrоid applications on Windows computers. The Windows Subsystem for Android (WSA) in Windows 11 now lets you install Android apps through thе Amazon Appstore.
Unlike the Google Playstore, Amazon Appstore has a limited number of Android applications. You also need a U.S-based Amazon account to use the Amazon Appstore. Sideloading apps from unofficial sources allows you to bypass this requirement and install any Android application on your PC. This tutorial highlights different ways to sideload Android apps in Windows 11.
To sideload apps, your PC must have Hardware Virtualization enabled. Additionally, your device’s region must be set to the United States. Refer to our tutorial on installing Android apps on Windows 11 for more details about these requirements.
You can sideload Android apps in Windows 11 either through Command Prompt or third-party Android installers. We’ll show you how to do both.
Sideload Android Apps in Windows Using Command Prompt
First, you’ll need to set up the Android Software Development Kit (SDK) and Android Debugging Bridge (ADB) on your computer.
Visit the SDK Platform Tools page on the Android developer website on your web browser and follow the steps below.
- Scroll to the “Downloads” section of the Android developer website and select Download SDK Platform-Tools for Windows.
- Check I have read and agree with the above terms and conditions and select Download Android SDK Platform-Tools for Windows.
- Right-click the downloaded ZIP file and select Extract All.
- Select the Extract button to extract the files to the folder displayed in the box. Select the Browse button to extract the files to a different folder.
- Open the platform-tools folder.
- Select the address bar and press Ctrl + C to copy the folder path.
- Press the Windows key and type windows subsystem in the Windows Search bar. Select Open below the Windows Subsystem for Android Settings app.
- Select Developer on the sidebar and toggle on Developer mode.
- Select the Copy button in the IP address row.
- Select the Refresh button if the IP address reads “Unavailable.”
If the IP address remains unavailable, select Manage developer settings, wait for 10-20 seconds, and select the Refresh button again. That helped reveal our test computer’s Windows Subsystem for Android’s IP address.
Close and reopen Windows Subsystem for Android if the IP address remains unavailable after refreshing multiple times.
- Download the APK file of the Android app you want to install on your computer. APKMirror, APK4Fun, and APKPure are some of the safest platforms to download APK files for Android apps. Ensure you save the app’s APK file in the platform-tools folder (see step #6).
- Open the Start menu, search for command prompt, and select Run as administrator to open Command Prompt with admin privileges.
- Type cd, leave a space, paste the platform-tools folder path (see step #6), and press Enter. The command should look like this:
cd C:\Users\Lenovo\Desktop\platform-tools_r33.0.2-windows\platform-tools
- Type adb connect IPAddress (replace IPAddress with the IP address copied in step #11) and press Enter. The command should look like this:
adb connect 192.163.6.172
- Next, type adb install ApkName (replace ApkName with the name and extension of the APK file you want to sideload). Press Enter to run the command.
We’re sideloading the Subway Surfers app on our Windows 11 computer, so we’ll run this command: adb install subway-surfers.apk.
Command Prompt will display a “Performing Streamed Install” message when installing the app. Check your PC’s app list for the sideloaded app when you get a “Success” message.
The app should appear as a recently added item in the “Recommended” section of the Start Menu.
- Select the app to run it on your computer just as you open regular Windows apps. You can also pin the app to the Start Menu or Taskbar.
If you’re having difficulties sideloading APK files, close the Command Prompt and Android Subsystem, and restart the process from scratch. Remember to move the APK file you want to sideload to the platform-tools folder.
Sideload Android Apps on Windows 11 Using WSATools
WSATools is third-party software that lets you sideload Android apps in Windows 11 without running Command Prompt commands. Download the APK file of the Android file you want to sideload and follow the steps below.
- Open the Microsoft Store app, type wsatools in the search bar, and press Enter.
- Microsoft Store should open the WSATools app preview. Select the Get button to install the app on your PC.
- Open WSATools to proceed.
- Select the Install an APK button.
- You’ll get a prompt to download and install the Android Debug Bridge. Select the Install button to proceed.
- When ADB gets downloaded, select the Select Folder button to choose a destination folder where WSATools should install ADB.
- Choose a destination folder and select Install ADB here.
- Locate and select the APK file of the app you want to sideload and select Load APK.
- Select Install.
WSATools should display a success message when the installation is complete. Open your PC’s Start Menu to launch the newly installed applications. If WSATools gets stuck on the installation progress page, close and reopen WSATools, and try again.
Your PC Isn’t an Android Device
Not all Android apps will work on your computer, particularly Google apps that require Google services. Presently, there are over 1,000 Android apps in the Amazon Appstore. Amazon and Microsoft promise to keep developing the marketplace, so it supports more apps.
So, in the near future, you may barely need to sideload or install apps from unofficial sources. Until then, use the tools and techniques in this tutorial to run Android apps on your Windows PC.