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

补丁工具apkpatch的使用 #13

Closed
wzsxlh opened this issue Sep 17, 2015 · 5 comments
Closed

补丁工具apkpatch的使用 #13

wzsxlh opened this issue Sep 17, 2015 · 5 comments

Comments

@wzsxlh
Copy link

wzsxlh commented Sep 17, 2015

apkpatch -f fix.apk -t old.apk -o G:\AndFixPatchTool\ -k G:\keystore\andfixtest.jks -p 105400 -a andfixtest
执行这个之后 并没有生成.patch文件,求正确的打补丁方式。

@supern
Copy link
Member

supern commented Sep 17, 2015

-e xxx

@wzsxlh
Copy link
Author

wzsxlh commented Sep 17, 2015

现在有兼容包的就不能用这个框架是吗? 我打完补丁进去就异常了.

@supern
Copy link
Member

supern commented Sep 17, 2015

@wzsxlh 可以的,因为apkpatch有bug,后续apkpatch也会开源出来

@952010613
Copy link

我也碰到这问题 apkpatch.sh -f app2.apk -t app.apk -o keystore/ –k keystore/debug.jks –p 888888 -a andfix -e 88888 生成不了补丁,求解

@wzsxlh
Copy link
Author

wzsxlh commented Jul 21, 2016

apkpatch.bat -f NoBug.apk -t Bug.apk -o Dennis -k keystore -p 111111 -a 111111 -e 111111

每个参数含义如下

-f 新版本的apk
-t 旧版本的apk
-o 输出apatch文件的文件夹,可以随意命名
-k 打包的keystore文件名
-p keystore的密码
-a keystore 用户别名
-e keystore 用户别名的密码

keystore要带上后缀名 (或者把keystore的后缀名去掉)

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

3 participants