alesimula / wsa_pacman

A GUI package manager and package installer for Windows Subsystem for Android (WSA)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Can't install .xapk

Mitia99 opened this issue · comments

There is an issue installing this specific .xapk file

WSA Pacman 1.5.0 is connected
image
Bug
Infinite loading
image
Additional info

  • It's a .xapk file that I created merging the Android/obb/... with the apk file into a zip format
  • WSA Sideloader can install it without issue.

Ty for investigating,

@Mitia99 Hello, sorry for the late response; The app reads XAPK files with a manifest.json file, as shown in this website: https://openxapkfile.net/manifest.html, which your archive is missing;

This file is what I use to extrapolate data from the manifest, you don't need all elements to be present, but you certainly need: "package_name" (the .apk file will need to have the same name as the package_name, but don't put ".apk" at the end of package_name) and "version_code" (I'm actually not sure whether this was required, better put it in to be sure, it's there to check whether the currently installed version is superior, equal or inferior to the one you are installing)

In your case, you also need to insert the "expansions" property as shown in the first website I linked (you don't need "install_path" though, unless it's different than the "file" property, and the "install_location" property is ignored entirely

@Mitia99 Hello, sorry for the late response; The app reads XAPK files with a manifest.json file, as shown in this website: https://openxapkfile.net/manifest.html, which your archive is missing;

This file is what I use to extrapolate data from the manifest, you don't need all elements to be present, but you certainly need: "package_name" (the .apk file will need to have the same name as the package_name, but don't put ".apk" at the end of package_name) and "version_code" (I'm actually not sure whether this was required, better put it in to be sure, it's there to check whether the currently installed version is superior, equal or inferior to the one you are installing)

In your case, you also need to insert the "expansions" property as shown in the first website I linked (you don't need "install_path" though, unless it's different than the "file" property

Hi, It's ok. Thanks for your reply.

I don't really understand technical details but as I said WSA Sideloader can sideload it so I hope that it WSA Pacman can as well