code typo problem

  • Replies:0
sydney maxcy
  • Forum posts: 9

Jan 24, 2015, 4:25:33 PM via Website

I created a new project with a simple blank activity and looked at the MainActivity.java file where I can see the following package: com.example.sydney.secondapplication which is what showed up when I initially created the project. Looking into the AndroidManifest.xml file I see the same package name applied to the package ID. Looks good to me, but the secondapplication element at the end of the package name is high-lighted and hovering over the element gives a typo message: "Spellchecker inspection helps locate typos and misspelling in your code, comments and literals, and fix them in one click". The package name is correct according to the MainActivity.java file, so I don't see why this typo is showing up. How would I fix it with "one click" which is alluded to in the typo message? Which one click? I have no idea, and I can't find any reference to it in the Help tool! After fooling around for a day I found the Tools/Analise/Inspect Code tool and ran it, and the typo showed up there also, but I had the choice to ignore it which I did and the typo no longer shows up. Was this the correct thing to do?

Reply