L
Lawrence D'Oliveiro
Google’s tool for creating an Android project insists on creating a
subdirectory hierarchy corresponding to the package naming hierarchy. Thus,
if you name your class “com.example.test_project.Mainâ€, it will put
Main.java inside the subdirectory src/com/example/test_project/.
But it turns out no part of the build process depends on this: you can put
all source files at the top level of your “src†subdirectory, and the
project still builds just fine.
subdirectory hierarchy corresponding to the package naming hierarchy. Thus,
if you name your class “com.example.test_project.Mainâ€, it will put
Main.java inside the subdirectory src/com/example/test_project/.
But it turns out no part of the build process depends on this: you can put
all source files at the top level of your “src†subdirectory, and the
project still builds just fine.