alibaba / alibaba/AndFix

请问热修复的部分只能是方法?

Open
#150 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
7k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

我现在开发的应用想要使用使用热修复:发布一个小体积的apk,然后实际上应用需要使用到assets中的大文件,想要打一个assets文件的apatch,然后在用户使用线更新,下载完成后打上patch,可是使用apkapkpatch生成的apatch并没有包含新apk中的assets文件夹。可是我试着修改某个方法后再打apatch,就成功生成Android 4.4可用的apatch。所以,Andrfix是只能热修复apk中的方法吗?而不能给已发布apk添加assets文件夹?Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported apkapkpatch behavior with an APK containing an assets directory, then compare it with the method-change patch that works on Android 4.4. Inspect the generated apatch contents and determine whether adding assets is supported; done means documenting the supported patch scope or clearly identifying the required change.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.