Is your ProApplication declared in AndroidManifest.xml? From the log, it is obvious that the Application tag in your AndroidManifest.xml does not specify your ProApplication, causing the context to be null.
The log only shows that the context you passed in is null. Specifically, you can debug and set the endpoint to see if there is any problem with the incoming.
Is your ProApplication declared in AndroidManifest.xml?
From the log, it is obvious that the Application tag in your AndroidManifest.xml does not specify your ProApplication, causing the context to be null.
The log only shows that the context you passed in is null. Specifically, you can debug and set the endpoint to see if there is any problem with the incoming.
Wang Zhengyi’s correct answer is that ProApplication.context is a null reference object.