Reputation: 129
I am new to Android Development. Actually, I haven't started yet because I always get the error: "Package name not valid" when trying to create a new Project in Netbeans 6.9.1. I've installed Android SDK (path is set in NB) and Platforms are available. Does anyone know what I've done wrong or how I could solve my problem. I want to start soon.
Sincerely
Upvotes: 6
Views: 18945
Reputation: 1702
Even though this is a pretty old topic, I'll add one more reason one why someone can get an invalid package name.
The package name cannot include a Java language keyword such as int, long, interface, etc. For example, "com.myDomain.myApp.interface" would not be a valid package name. However, "com.myDomain.myApp.interface_" is a valid package name.
Upvotes: 0
Reputation: 166
For creating a package use a dot, not a space, example:
android.bug
not android bug
Upvotes: 15