Since as does not automatically guide packages by default, it needs to be set.
File–> Settings–> Editor–> General–> Auto Import
File–> Settings–> Editor–> General–> Auto Import

Automatic import is to put
1. Insert Imports on Paste option changes to All.
2. Check immediately for Optimize imports on the fly
Neil: You’ll Add umambiguous imports on the fly
The following figure
Reference: http://blog.csdn.net/buaaroid/article/details/44979629
Read More:
- A little bug of CSDN blog
- Solution to communication link failure with error in idea startup project
- How to solve “import cv2 failed ImportError: DLL load fail: Cannot find the specified module” in Anaconda environment
- Configuration and use of qt5.9.6 and vs2015
- After eclipse eclipse eclipse imports the correct project, an error is reported in XML and other files
- “Operation now in progress” appears when mounting CIFS
- gerrit error: missing Change-Id in commit message footer
- The most complete collection of solutions to Tortoise SVN Clean up failure
- CMake_ Compiling VTK_ 9.0.0 running vtkcommoncolor DLL has access conflict
- Record the python package EXE file running error importerror, but do not prompt specific error solution
- “Error! Reference source not found.” “error! Reference source not found solution to problem for
- “Error! Reference source not found.” “error! The source of the problem was not found
- Using np.set in Python 3_ Printoptions (threshold = NP. Nan) raises an error resolution
- Error resolution by Ubuntu: aclocal-1.14 ‘is missing on your system
- Solution of fileuriexposedexception for Android 7.0 behavior change
- What are the common clearing commands in MATLAB?
- Configuration of OpenGL under CodeBlocks and solutions to problems encountered
- The installation of docker desktop failed. After successful installation, the docker can not be started
- Android studio AAPT: error: attribute android:requestLegacyExternalStorage not found.