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:
- [Fixed] Disgusting bug Error:Failed to Load project configuration: cannot parse filemessage: content is not allowed in the preface.
- [Solved] Java: compilation failed: internal java compiler error
- [Solved] Error:(3, 46) java: Program Package org.springframework.context.annotation does not exist
- [Solved] Hongmeng compiles error: Unable to find the java component with apiVersion 4.
- [Solved] IDEA Start Porject Error: java: Compilation failed: internal java compiler error
- Error java JDK isn‘t specified for module [How to Solve]
- [Solved] Error:Cannot determine path to ‘tools.jar‘ library for 17
- Errorjava Compilation failed internal java compiler error [Solved]
- [Solved] Error:java: Compilation failed: internal java compiler error
- IntelliJ idea compilation error: Error:java : Compilation failed: internal java compiler error
- [Solved] Error:java: Compilation failed: internal java compiler error 解决办法
- [Solved] Error:java: Compilation failed: internal java compiler error
- [How to Solve] Idea prompt does not support Lombok
- IDEA Compile Error: java Compilation failed internal java compiler error
- IDEA Error: lombok.extern.slf4j is not exist [How to Solve]
- [Solved] AndroidStudio Error: checkDebugAarMetadata & CheckAarMetadataWorkAction
- [Solved] Springboot Deploy Error: Input length = 1 or Input length = 2
- Errorjava Compilation failed internal java compiler error [How to Solve]
- [Solved] java: Compilation failed: internal java compiler error
- [Solved] Idea Build error. The symbol — Lombok cannot be found