问题
I was wondering if you could use dashes in a package name for an Android application?
回答1:
No, you cannot use a dash in your package name.
This is a great question to test for yourself. If you change the package name in your Manifest or class (I assume the wizard too) it will clearly create compile time errors.
The link that @vasart posted describes how to use an underscore in place of a dash, if necessary.
来源:https://stackoverflow.com/questions/13753637/android-package-name-using-dashes