

For example, if you say in your manifest your package name is com. It is in the namespace of the application package. R is a class containing the definitions for all resources of a particular application package. Also, preferring to go for Android Studio over Eclipse will certainly offer you the best in class experience. So if you’re planning to get a hold on mobile app development, Android is definitely the best choice. Is Android Studio best for app development? In the second line of the error, where it says “symbol: class Scanner”, that indicates that it doesn’t know what the Scanner class is. Any error that starts “cannot find symbol” means that the compiler doesn’t know what that symbol (which can be a variable or a class name) refers to.
