Problem:
Previously the project is normal, one day suddenly appeared red exception, the code is prompted in many places “Cannot resolve symbol xxxx” Log
Analysis:
The problem is caused by the failure of the three-party library dependency, the guide package can not be found
Solution (you can follow the following process to try):
1, Build->Clean Project and then Build->Rebuild Project to see if it is OK, not continue
2,File->Sync Project With Gradle Files to see if it’s OK, if not, continue
3,File->Invalidate Caches/Restart (check Clear Cache or Files) to see if it’s OK, or not.
4, close AS, manually enter the project to delete the .gradle and .idea files, reopen AS build to see if it is OK, not continue
5, downgrade the AS version, keep the settings and uninstall the current version, download and install the old version without problems before
The above five steps will basically solve the problem, which step is OK, just follow the order.
My problem is to the fifth step, from AS Bumblebee directly downgrade to AS4.2.1 before the problem is solved, the middle of the Arctic fox also have problems, specifically ignore.
Translated with www.DeepL.com/Translator (free version)
Read More:
- [Solved] IDEA2020 Error: Cannot resolve symbol ‘Servlet‘
- [Solved] IDEA JPA Custome Query Error: Can‘t resolve symbol ‘Type‘
- Android studio compilation failed: java.util.concurrent.ExecutionException: com.android.ide.common.process.Process
- [Solved] BASE64Encoder Error: Cannot resolve symbol ‘BASE64Encoder’
- Android Studio Error: Error:moudle not specified [How to Solve]
- [Solved] Idea Build error. The symbol — Lombok cannot be found
- Android solution Java.util.concurrent.ExecutionException: com.Android.ide.common.process.ProcessException: exception
- [Solved] IDEA java Cannot resolve method ‘getName‘ in ***
- [Solved] IDEA Maven Error: Cannot resolve xxx & Maven Dependencies Error
- [Solved] canal-adpter Startup Error: Could not resolve placeholder
- HQL statement query error: could not resolve property [Solved]
- [Solved] IDEA Import springboot Project Error: Cannot resolve plugin org.springframework.boot:spring-boot-maven-plugin:<unknown>
- Resolve warning: could’t clear Tomcat cache java.lang.NoSuchFieldException: resourceEntries
- [Javac compilation exception] javac compilation prompts that the package in jdk cannot be found error: package jdk.internal.org.objectweb.asm does not exist and error: cannot find symbol
- How to Solve Tomcat Error: Could not resolve view with name ‘xxx/xxxxxxx‘ in servlet with
- [ERROR] Failed to execute goal on project simple-project: Could not resolve dependencies for project
- [Solved] Android Could not determine artifacts for XXXX: Skipped due to earlier error
- Jasper Studio Error: Error loading object from file [How to Solve]
- org.hibernate.exception.SQLGrammarException: could not extract ResultSet, Resolve MySQL 5.7.5 or above GROUP_BY is not supported
- Cannot resolve reference to bean ‘sqlSessionFactory‘ while setting bean property ‘sqlSessionFactory‘