Problem: During development, after clicking debug once, the box keeps appearing, and cannot run without clicking debug

First, the fundamental solution

1. Restart the phone.

This problem can occur when your phone is connected to ADB Debug for a long time

2. Adb restarts
adb kill-server   adb start-server
Copy the code

Ii. Temporary solutions

The ability to attach debug to the app also allows quick access to the app