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

资源文件的更改无法被打入补丁? #10

Closed
wangyuetingtao opened this issue Sep 16, 2015 · 4 comments
Closed

资源文件的更改无法被打入补丁? #10

wangyuetingtao opened this issue Sep 16, 2015 · 4 comments

Comments

@wangyuetingtao
Copy link

测试了一下,代码级别是可以修复的。但是更改的资源文件并没有被打进去。如果某个bug涉及对资源文件的使用,打完补丁后,不就引入找不到资源文件这样新的bug了吗?

@MrFuFuFu
Copy link

hi, 好吧,我现在显得很low,我想问个问题,当我 Running sample 的时候,第三点 modify com.euler.test.A, references com.euler.test.Fix. 这个地方指的是 MainActivity 中的 A 类 改成 Fix 类么?

还有,当我 generate .apatch file 的时候,如果是 debug 的包,没有keystore 和 alias 的,但是我执行
./apkpatch.sh -f 2.apk -t 1.apk -o /Users/MrFu/Documents/Git/AndFixDemo/apk/
命令的时候,不能生成 .apatch 文件呢?

希望指导一下

@wangyuetingtao
Copy link
Author

1.改成什么无所谓,只要是能够明显看出两个版本不一样就行
2.暂时先按文档来,将应用签名后测试

by liu

发件人: Yuan Fu
发送时间: 2015-09-16 15:36
收件人: alibaba/AndFix
抄送: wangyuetingtao
主题: Re: [AndFix] 资源文件的更改无法被打入补丁? (#10)
hi, 好吧,我现在显得很low,我想问个问题,当我 Running sample 的时候,第三点 modify com.euler.test.A, references com.euler.test.Fix. 这个地方指的是 MainActivity 中的 A 类 改成 Fix 类么?
还有,当我 generate .apatch file 的时候,如果是 debug 的包,没有keystore 和 alias 的,但是我执行
./apkpatch.sh -f 2.apk -t 1.apk -o /Users/MrFu/Documents/Git/AndFixDemo/apk/
命令的时候,不能生成 .apatch 文件呢?
希望指导一下

Reply to this email directly or view it on GitHub.

@MrFuFuFu
Copy link

@wangyuetingtao 解决了,确实得按照文档来~

@supern
Copy link
Member

supern commented Sep 16, 2015

@wangyuetingtao 对,目前不支持资源的替换

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