I can not create second activity

0

IcannotcreateanewactivityinAndroidStudio,themessage"Package name is not a valid package name" appears

    
asked by anonymous 09.12.2015 / 03:14

1 answer

0

Packages must have at least one ".". The package name you put "layout" does not have the ".". You can use layout.project eg, or any name that contains ".". On android, it is advised to name packages, with a reverse domain name to identify who developed it. eg "br.com.microsoft" is a good package name if it was the microsoft that had developed the app. In your case, it could be: "br.com.alexandrelima". These names are only package identifiers, they are not bound by the need for sites with the same name.

    
09.12.2015 / 04:32