Solution: Follow the method proposed on Android official website to introduce Apache HTTP client. It is forbidden to import HTTP client by importing Jar packages or Gradle implementation/compilation; otherwise, it may cause classloader confusion.
Fully qualified names are required for calling internal classes. To fix a internal class, the easiest way is to decompile the class to smali, and the file name of smali is the class name of the internal class.
If an error occurs when sending RPC request, refer to Security guard result codes for troubleshooting.