-
Notifications
You must be signed in to change notification settings - Fork 145
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
请问怎么实现对obb的热更? #10
Comments
obb是一个固定路径的可读写文件,下载新版本替换不就行了 |
你测试可行??? |
最简单的,把x86库删了,首包大小自己减减,其他全走热更,就不用obb了 |
你就是没出海吧。。母的不是减包。。 |
唉,现在的人,不把别人踩一下都不舒服 |
😔忽略前一句。 PS 没有说要证明什么,目前库是可行,只是看了下回复都不是回答命题。 |
好吧,回到之前的问题, so库有组装zip的逻辑 印象中,我们当年obb也走了cdn,没走google的下载链接 |
表示我没脑子思考了。。。只求有个具体的方案。。。demo |
花了点时间研究,可以固定读取这个安装路径。就可以避免unity的接口获取的路径不一样。(因为热更下载ab可能是调用unity接口的话。设置给启动目录就行。 |
我试了一下如果先打一个带obb的apk,然后再把apk里的so和assets提出来当作热更的资源,也可以热更成功的,改代码和改versioncode都可以,但是改resources资源就不行了 |
如果使用obb的话 path获取到的目录是不对的 用obb的话要怎么去热更呢
The text was updated successfully, but these errors were encountered: