Wednesday, October 5, 2011

Android Eclipse: Package Name must have at least two identifiers

Was trying to start Android project using Eclipse, but encounter a strange error when creating new Android project
"Package name must have at least two identifiers."
Realize that is because the package name entered was: newproject. To work around with it you must name the package like this: com.android.newproject

Another error
"The API level for the selected SDK target does not match the Min SDK version"
The value for "Min SDK Version" suppose to be the "API level" in the "Build Target" field.

Sample

No comments: