Use the hotpatch feature to fix online issues without releasing a new version. This feature is for emergency use only.
Limits
Hotpatch on Android is not supported in the following scenarios:
x86 models that use Dalvik
OPPO models that run Android 11
Samsung 5.0.x models
Models that run API Level 21 to 23 with Just-In-Time (JIT) compilation enabled
Lemur virtual machines and the Android RunTime (ART) mode of Dalvik
Note
An Android system upgrade may invalidate previously published patches.
dex2oat does not work correctly on phones with later Android versions. This can cause tasks to take too long. Use the Instant Run instrumentation hotpatch solution. For more information, see Instant Run instrumentation.
Workflow
The hotpatch workflow consists of the following steps: