Android Package Name - Using Dashes

android, package

Solution

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.

Problem

I was wondering if you could use dashes in a package name for an Android application?

Original source