Skip to content

creates a batch file that uses adb to auto-install apks into the Windows Subsystem for Android and registers it as the default application to open apks.

Notifications You must be signed in to change notification settings

lunarcon/wsa-apktool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 

Repository files navigation

wsa-apktool

creates a batch file that uses adb to auto-install apks into the Windows Subsystem for Android and registers it as the default application to open apks.

Simply run this script and let it do its thing.

The file association will not work if you have already associated .apk files with another application, wether manually or through an application. In case the "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.apk\" key exists, the installiation script will delete this key. Run at your own risk, of course. Always keep backups of your registry!

Remember, WSA needs to be running when you want to install apks through adb. After apktool is installed, you can simply double-click on the apk file to install it into WSA.

common concerns

  • adb refused to connect - this indicates that you need to use the ip found in WSA settings, which seems to be different every time. You can re-run the installer to do this
  • failed streamed install - should be fixed by the same method as above
  • WSA is not running - the tool will start WSA for you, after which you'll need to close the tool double-click the apk file again to reopen the tool.
  • tool closed after 'Performing Streamed Install' - This (usually) means that the apk has been installed successfully.

About

creates a batch file that uses adb to auto-install apks into the Windows Subsystem for Android and registers it as the default application to open apks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages