Solution 1
File -> project structure,switch annother jdk location,click “apply”,and then resume origin jdk location, and click “apply”.
Solution 2
I found a solution. File -> project structure, Project Setting->Project and specify the Android SDK
Learning made simple.