Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Can't install .xapk #135

Open
Mitia99 opened this issue Oct 26, 2023 · 2 comments
Open

[Bug] Can't install .xapk #135

Mitia99 opened this issue Oct 26, 2023 · 2 comments

Comments

@Mitia99
Copy link

Mitia99 commented Oct 26, 2023

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,

@alesimula
Copy link
Owner

alesimula commented Dec 8, 2023

@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
Copy link
Author

Mitia99 commented Dec 8, 2023

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants