Home > Mobile >  The Android SDK or a third party APP ANR problems usually how to deal with?
The Android SDK or a third party APP ANR problems usually how to deal with?

Time:12-23

Such as: the ANR issue final position location is in a JAR package or caused by a third party APP, from how to deal with? By mistake, please post some ANR cause analysis and locate the cause and the post, thank you

CodePudding user response:

Can be called the third party activity on the stack, new activities that happen ANR will not affect the main stack, or the child thread to execute the third-party jar method, and then results in the notice to the main thread to update the UI,

CodePudding user response:

Method of 1/f, no problem, ask a little if the method does not support third-party jar in the thread operation, also can call on the services of the third party or any other in the process of operation, can realize the asynchronous operation,
  • Related