id | title | brief | article | |||||
---|---|---|---|---|---|---|---|---|
7AAA95E0-6B6C-27AE-A682-7CB7451D70AB |
Create an Android Project |
This recipe shows how to create a new Android project in Xamarin and Visual Studio. |
|
- First, launch Visual Studio for Mac and click on New... in the top left corner:
- A window will pop up with a list of options for the types of projects available to you. To create an Android project, select the Android>App category to open up the available sub-categories, then choose Android App:
- Choose a sensible name for your app and choose development targets:
- Choose a project name, then click OK:
- Visual Studio for Mac will create and populate a new project for you:
- First, launch Visual Studio and click on New Project... in the top left corner:
- A window will pop up with a list of options for the types of projects available to you. To create an Android project, select the Android then Blank App (Android). Enter a project name:
- Visual Studio will create and populate a new project for you:
If you are using periods in your project name, do not use Android in your project name, as this will result in namespace conflicts and build failures. For example, do not name your project "Hello.Android" - use "Hello.Droid" instead.