wsa_pacman icon indicating copy to clipboard operation
wsa_pacman copied to clipboard

[Bug] Can't install .xapk

Open Mitia99 opened this issue 1 year ago • 2 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 avatar Oct 26 '23 05:10 Mitia99

@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

alesimula avatar Dec 08 '23 18:12 alesimula

@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

Mitia99 avatar Dec 08 '23 18:12 Mitia99