Hi, I'm Canan
Oups ...
Never forget impossible is possible
:(
Your PC ran into a problem and needs to restart.
We're just collecting some error info, and then we'll restart for you.
0% complete
For more information about this issue and possible fixes, visit
https://www.windows.com/stopcode
If you call a support person, give them this info:
Stop code: SYSTEM_SERVICE_EXCEPTION
Analyse and Reformat code
Android Studio
Steps
Analyse code
- Click on Root Project
- Click on "Analyse" -> "Inspect Code"
- Select on "Whole Project"
- Select on "Whole Project"
- Check following:
Exclude "Properties Files" and "Spelling" categories
"Android" -> "Lint" -> "Correctness" -> "Obsolete Gradle Dependency" (all except comment for block)
"Android" -> "Lint" -> "Performance" -> "Obsolete SDK_INT Version Check" -> "Merge ressourcess from ... values"
"Android" -> "Lint" -> "Performance" -> "Useless parent layout" -> check it
"Android" -> "Lint" -> "Performance" -> "Unused resources" -> category -> file -> right click -> "Remove all unused declaration"
- /!\ Be sur you do not use it, because you can use it programmatically!
"Java" -> "Accept suggested access level"
"Java" -> "Imports" -> "Unused import"
"Java" -> "Probable bug"
Reformat code
- Click on Root Project
- Click on "Code" -> "Reformat Code"
- Select ONLY "Optimize imports"
- Click on "Run"