Windows Subsystem for Android™️

by tegar
0 comment

Windows Subsystem for Android ™ allows your Windows 11 gadget to run Android applications that are available in the Amazon Appstore. Android is a trademark of Google LLC. If you’re a designer interested in targeting Windows desktop tools and maximizing for the Windows os, this guide is for you.

To make your Android app readily available on Windows 11 tools, you must:.

  • Send your app to the Amazon Appstore.

To find out more or assistance:.

  • Enroll in updates to the Amazon Appstore on Windows program.
  • Visit the Amazon designer support portal where you can locate posts, forums, FAQs, or reach out for direct support via the Appstore “Contact us” web page when you established an Amazon Developer account.

This overview can assist you examination and also debug your Android app on Windows:.

  • Establish your development environment, consisting of requirements, setting up the Amazon Appstore, and making use of the Settings app.
  • Deal with input compatibility considerations for Windows tools, such as: key-board input, computer mouse input, and also window management as well as resizing.
  • Test as well as debug your app on a Windows 11 tool.
  • Troubleshoot and also discover responses.

Set up your development environment

To evaluate your Android application in the Windows desktop environment, a little bit of established will certainly be needed.


Windows Subsystem for Android is available for public sneak peek on Windows 11.
Your tool has to meet particular needs: Device requirements.

Install the Amazon Appstore

The Microsoft Store will immediately set up Windows Subsystem for Android quietly behind-the-scenes when either of both following customer actions are taken:

  • Install the Amazon Appstore from the Microsoft Store. Choosing Get will certainly start the installment of the app.
    Install an Android application from the Microsoft Store for the first time, which will certainly likewise install the Amazon Appstore.
  • The Amazon Appstore and also the Windows Subsystem for Android Settings application will certainly after that appear in the Windows 11 Start food selection as well as be offered on search, offering a catalogue of Android apps.

The Amazon Apps on Windows (a requirement for running Android apps on Windows 11) is currently only available in the US.

Windows Subsystem for Android™️ Settings app

To access the Windows Subsystem for Android Settings application, most likely to: Start > All Apps > Windows Subsystem for Android ™ Settings. Find out more about certain settings application features: Manage settings for mobile applications on Windows.


Windows Subsystem for Android™️ |

Input compatibility considerations for Windows devices

There are a few distinct input habits to think about that will likely call for updates to your Android application code, designed for handheld devices, to be compatible when operating on a Windows desktop computer tool using the Amazon Appstore.

Keyboard input

For text input fields taken care of by an on-screen virtual keyboard input approach (or IME), such as EditText, apps ought to act as anticipated. (EditText class in the Android docs).

For keystrokes that can not be anticipated by the structure, apps will certainly need to manage the actions themselves. If this is already carried out in-app, no extra work is needed.

As an example, some games may currently sustain activity promoted by means of key-board, through w a s d secrets, along with touch input.

The following are key-board inputs that developers must consider code updates for when developing for Windows 11 devices:

  • Enter Key
  • Arrow-key and Tab-key Navigation
  • Modification Selected Item Highlight Color
  • Ctrl-based Shortcuts

Computer mouse input

Programmers need to take into consideration updating code for the adhering to mouse inputs when constructing for Windows devices:

  • Right Click
  • Tooltips/ Hover Text
  • Hover Effects
  • Computer Mouse Scroll Wheel Action
  • Drag as well as Drop

Window management and resizing

Unlike typical mobile type factors, Android apps running on Windows 11 can be freely resized, should be responsive in their resizing, and can be snapped using Windows actions/gestures.

Minimum screen requirement

Windows 11 enforces a minimum screen requirement of 720p resolution (1280×720) with a > 9″ screen.

Letter & pillar boxing

When the aspect ratio of a window size does not align between the device screen sizes that window is being displayed on, the result may be Letterboxing (the window is wider than it is high, or horizontally longer) or Pillarboxing (the window is more narrow than it is wide, or vertically longer). The result is bars being placed on the sides of the window in order to center it. These bars may be light- or dark-themed depending on the system settings selected. This will only occur as necessary when the Android app is snapped or maximized, allowing Android apps to take advantage of the rich snapping features in Windows and integrate into the windowing model.

Additional resizing considerations

The following should also be considered when updating an Android app to run on a Windows 11 device with respect to window management and resizing:

  • Initial launch size
  • Window dimensions
  • Content bounds
  • Free form resizing
  • Screen Orientation

Test and debug

To test and debug your app on a Windows 11 device using the Windows Subsystem for Android the following set up steps are required.

Enable designer setting in Windows Settings

You should first enable programmer setting in Windows Settings. There are 3 methods to enable developer mode:

  • Open the Windows Subsystem for Android Settings application. When open, enable Developer Mode.
  • Look for “Developer Settings” in Windows search.
  • Browse to Settings > Privacy and Security > For developers > Developer mode.

Connect to the Windows Subsystem for Android for debugging

To attach to the Windows Subsystem for Android VM for debugging:

  • Obtain the IP address by opening up the Windows Subsystem for Android Settings app. (Use Windows Search to pick and also launch.).
  • The IP address will be presented under the IP address area. If there is no IP address being displayed, introduce an Android application that was installed utilizing the Amazon Appstore, then choose Refresh on the IP address switch in the Settings application.
  • Since you have the IP address to attach to the Windows Subsystem for Android VM, in your terminal or Powershell, you can connect making use of adb connect (you have to have adb installed):

adb connect

Connect to a test device

To connect to an examination gadget (with Windows Subsystem for Android installed) on the exact same network from Windows/Mac:

  • On the examination device (where Windows Subsystem for Android is installed) open a PowerShell window and also recognize the IP address of the examination device by running the command:


  • Making use of the debugging tool incurable where Android Studio and the Android SDK is mounted (Mac/Windows), enter the command:

    adb connect <TEST DEVICE IP ADDRESS>:58526

  • The can be discovered in the output of “ipconfig” from the test gadget. You can likewise deploy and debug applications from Android Studio.

    To utilize Android Debug Bridge (ADB) to link your development workstation straight to your Android device so you can install packages as well as evaluate changes, see Android Debug Bridge in the Android Open Source Project docs.

Debug your app

While apps must be installed utilizing the Amazon Appstore, debugging an Android app on a Windows tool is possible using an APK (Android application plan) and also adb (Android Debug Bridge).

To debug an APK making use of adb:

  • Follow the actions to attach to the Windows Subsystem for Android VM above.
  • Mount the APK making use of the adb install command: adb set up app-debug. apk.
    Expected Output: “Performing Streamed Install Success”

Doing Streamed Install.
An effective “app set up” notice will certainly show up in the Windows alert food selection and also the app will introduce once picked.

Building Universal APKs.

Windows Subsystem for Android makes use of Intel Bridge Technology to emulate ARM applications on x86 based cpus. ARM applications will operate on ARM based cpus natively. The emulation layer will induce a performance expenses– for optimal performance, send your application for both the x86-64 and also ARM64 designs.

VM lifecycle factors to consider.

Windows Subsystem for Android uses a digital machine (VM) which provides compatibility with the AOSP framework and devices like key-boards, computer mice, touch, pen, and so on.

There are 3 possible states for the VM running applications with Windows Subsystem for Android:.

  • Running.
  • Lightweight Doze: Activated after no application task for 3 mins. Deactivated by user task or an app notification.
  • Not Running: Activated after no app task for 7 minutes.
    Shifts in between these states are activated by user activity, such as launching or communication with the Android app or an app notification. Android apps are stopped and after that quit when their window is reduced.

VM lifecycle graph showing the running, lightweight doze, and not running

VM Properties

The properties for the Windows Subsystem for Android VM are listed here. Hardcoding these worths is not advised as that might create future conflicts.

Property Value

Build.MANUFACTURERMicrosoft Corporation
Build.MODELSubsystem for Android


Windows Subsystem for Android does per-file file encryption that is software-based.

Both Windows kernel-mode vehicle drivers and Windows applications going for tool honesty level (IL) can check approximate Android containers and also Android application memory. There are no strategies to include discovery for cheats/macro/bot/ questionable habits detection in the temporary.

Developers querying getSecurityLevel will get SECURITY_LEVEL_SW_SECURE_CRYPTO. Learn more regarding getSecurityLevel in the Android API Reference guide.

Uninstalling Windows Subsystem for Android.

You can uninstall the Windows Subsystem for Android, however keep in mind that all linked apps will likewise be uninstalled.

  • Uninstalling the Amazon Appstore will certainly uninstall the Windows Subsystem for Android and all other Android apps.
  • Uninstalling an Amazon Appstore app will only uninstall the application (very same habits as Windows apps).
  • Uninstalling the Windows Subsystem for Android will uninstall the Amazon Appstore and all Android apps.

Troubleshooting issues

If you experience concerns details to the Amazon Appstore on Windows, attempt the complying with troubleshooting actions:.

  1. Select Windows search from the Windows job bar.
  2. Search for “Amazon Appstore” and also right-click on the Amazon Appstore icon.
  3. Select “App Settings” in the dropdown alternatives.
  4. Select “Storage and also Cache” and also click both “Clear Storage” and “Clear cache”.
  5. Go back and also choose “Force Stop”.
  6. Shut the Amazon Appstore Settings home window.
  7. Relaunch the Amazon Appstore.

For additional fixing actions connecting to the Windows Subsystem for Android Settings application or to leave feedback using Feedback Hub, see Troubleshooting as well as FAQ for mobile apps on Windows.

For any other designer questions and assistance, use the Windows Subsystem for Android tag on Microsoft Q&A.

Related Posts

Leave a Comment