Android error message: package name is not set to a valid package name
When in Android Studio trying to create a new Acitivty or settings activity under the Resoucen or layout of
More > [xml]-> [menu]-> new >->activtiy->Settings Activity
Then comes the message in the dialog to create the activity links below in the corner:
Package name is not set to a valid package name
Dialog: Configure activity in Android Studio
Trace to the error:
The error occurs when you as usual Studio launches in Android under the resources so how here:
Launch of new in XML > New York > activtiy-> settings activity
The error to get on, no matter which entry in the input box: package carries a name.
Solution:
Click \app in the project directory and then with * new/activity/SettingsActivity
Start
|