Started working on my first project using Android Studio instead of Eclipse ADT.
I would like to add sub folders to contain java.classes in order to structure my app but are unable to obtain references to them in my activity
structure is (with app name replaced)
src/main/[MyCompany]/[myAppName]/model/user.java
and
src/main/[MyCompany]/[myAppName]/helperClasses/SQLiteHelper.java
however I am unable to reference them either directly in code or by import, and are forced to put them in the appName folder with the activity to reference them.
Is this simply a limitation in Android or is there a way to organize your project with folders better. I used the new->folder-java folder option to create folders
解决方案
IntelliJIdea mixes packages and directories.
So, right click on the java folder, click new - 'Package', then add your directory.