We take the initiative to turn on other applications installed in the application. Images can be displayed normally. But I checked wechat, and it still shows even if I don’t open it. After a long struggle, I finally found the final solution:

// Add the entire attribute to the application representation, and the problem is solved.
<application
    ...
        android:requestLegacyExternalStorage="true"
        >
Copy the code

It’s too pit. Record. Hope to help students in need!!