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

如果路径过长,将导致软件包无法被打开。特别是对来自apk mirror 的程序包而言 #7

Open
zeng-github01 opened this issue Aug 2, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@zeng-github01
Copy link
Contributor

zeng-github01 commented Aug 2, 2024

Describe the bug

当安装来自apk mirror 的apkm 包时,由于Windows 的路径最大长度限制。会导致该软件包大概率无法被打开。需要在APK Installer 的app mainfest 中声明开启长路径。但是微软提供的文档比较抽象。我没有看懂。请作者尝试解决一下

Steps to reproduce the bug

N/A

Expected behavior

No response

Screenshots

No response

App version

0.0.3

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

Android device

Nomal Device

Additional context

https://learn.microsoft.com/zh-cn/windows/win32/fileio/maximum-file-path-limitation?tabs=registry

Log - 20240802.log

@zeng-github01 zeng-github01 added the bug Something isn't working label Aug 2, 2024
@zeng-github01
Copy link
Contributor Author

@wherewhere 大佬,想个办法解决一下呗?

@wherewhere
Copy link
Member

不知道,UWP没有这个清单

@zeng-github01
Copy link
Contributor Author

不知道,UWP没有这个清单

求你了作者,想个办法吧。我什么都会做的

@wherewhere
Copy link
Member

你观察一下哪里炸了

@zeng-github01
Copy link
Contributor Author

zeng-github01 commented Oct 19, 2024

你观察一下哪里炸了

直接原因是路径过长,比如作者你随便区找个apkmirror 的包,百分百程序包解析失败,但是把这个包文件的名字改短一点就行了。多半是Windows 自身的问题。所以issue信息上有微软的一篇文档

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants