There is no prompt for xml in the newly created project in Android studio

In a newly installed AS or a newly created project, when you open xml editing, you suddenly find that there is no code prompt. Some friends think that there is a problem with AS, or the new project is wrong, or there are problems with gradle, etc. In fact, this problem is your version complieSdkVersion and buildToolsVerison. If the version is inconsistent, just adjust the version and recompile.

   

In addition, if your versions are consistent, but there is still a problem that the code does not prompt, you can change the buildToolsVersion version (for example: 29.0.2) or change the compiled sdk to 30 or other. The specific sdk version and tools version need to be downloaded according to your needs Determined by version

 

 

 

Guess you like

Origin blog.csdn.net/chenluming210/article/details/130150028