solution
The reason is that the program can't run because the debugging signature is used. Android studio runs with debug signature by default, and then generates app-debug.apk under APP-BUILD-OUTPUTS-DEBUG. However, the official strictly restricts the operation behavior of dmsdp authorized by unsigned certificates. Solution:
1, use build-generate to sign package /apk, use. Jks file generated under the guidance of official website generates the released version of apk, which is installed on the mobile phone with adb command. The disadvantage of this scheme is that it cannot be debugged.
2. Set the signature information in gradle, or set the debugging switch flexibly (as required), and refer to Android debugging signature and publishing signature.