Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Latest commit

 

History

History

create_an_android_project

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
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.

Recipe

Visual Studio for Mac

  1. First, launch Visual Studio for Mac and click on New... in the top left corner:
  2. 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:
  3. Choose a sensible name for your app and choose development targets:
  4. Choose a project name, then click OK:
  5. Visual Studio for Mac will create and populate a new project for you:

Visual Studio

  1. First, launch Visual Studio and click on New Project... in the top left corner:
  2. 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:
  3. Visual Studio will create and populate a new project for you:

Additional Information

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.