I have ported my project from Eclipse to Android Studio.But my Application class "AppController.java" alone showing as a text file.I deleted the file and created again but getting following error message.
Unable to parse template "class" Error message: Selected class file name mapped 'AppController.java' to not java file type 'Textfiles'
Note: I have double checked the file types but no luck. File->Settings->File Types the file type for Java source files, Java class files and Text files