when running analyze > inspect code android studio not start inspection progress. instead shows message 'no suspicious code found' if there suspicious code.
code inspection worked in same project once , works in other project. of course inspections in project enabled. analyzing single files works.
i'm using android studio 1.2.2.
turns out seems problem android studio , lint's spelling errors.
i had "ok" in strings.xml (with lower case 'k') lint complained typically written upper case k. caused files of whole project not being analyzed suspicious code. after renaming "ok" code inspection works again.
by way, disabling lint spelling errors inspections did not solve problem.
i filed bug this: https://code.google.com/p/android/issues/detail?id=180417&thanks=180417&ts=1437119965
Comments
Post a Comment