Skip to content

skittles9823/APK-Installer-Win11

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

APK-Installer-Win11

A simple script to install apk files to Windows Subsystem for Android on Windows 11

Install

  1. Place apkinstall.ps1 into your %UserProfile%\Documents\ folder
  2. then execute the following commands in an elevated powershell terminal (or cmd but remove the cmd /c part from the commands)
    • cmd /c assoc .apk=androidpackage
    • cmd /c ftype androidpackage=pwsh.exe -File `"%UserProfile%\Documents\apkinstall.ps1`" `"%1`"
  3. You may need to change pwsh.exe to powershell.exe if you aren't using PowerShell 7.x.x from https://aka.ms/powershell

Notice

The script assumes you have platform-tools installed and set up in your system environmental variables, make sure you are able to run the command adb from any location or the script will error when you try to open an APK file

If you need help setting up adb/platform-tools here are my recommended tutorials on it.

You can follow this tutorial on how to acquire and install platform-tools.

and you can follow this tutorial on how to add platform-tools to the path environmental variables.

About

A simple powershell script to install apk files to Windows Subsystem for Android on Windows 11 by simply double clicking an apk file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published