Common troubleshooting notes for DexPatch integration.
-
Regardless of the baseline, do not use a custom
Application, such as one that inherits fromQuinoxlessApplicationorLauncherApplication. -
Use a whitelist to correctly handle inner classes. Verify the fully qualified name of each inner class.
-
Use the Apache HTTP Client correctly. For more information, see Notes on using the Apache HTTP Client.
-
Search for the
checkLegalfield. If it isfalse, the patch was not downloaded. Check whether theversionNamematches. -
Check the patch merge log.
monitorCoverage(immediately=true)indicates a successful patch merge. -
For Android 11 and later, upload a whitelist file to generate the patch package.
该文章对您有帮助吗?