Create an Android Project using Kotlin Language - AkuCode

Create an Android Project using Kotlin Language - AkuCode

    Android Studio makes it easy to create Android apps for various form factors, such as handsets, tablets, TV, and wear device. This page shows you how to start a new Android app project or import an existing project.
    If you don’t have a project opened, Android Studio shows the welcome screen, where you can create a new project by clicking Start a new Android Studio Project. If you do have a project opened, you start creating a new project by selecting FILE > New > New > Project from the main menu.
    You should then see the Create New Project wizard, which lets you choose the type of project you want to create and populates with code and resource to get you started. This page guides you through creating a new project using the Create New Project wizard.

Choose your project

    In the Choose your project screen that appears, you can select the type of project you want to create from categories of device form factos, which are shown as tabs near the top of the wizard. For example, figure 1 shows a project with a basic Android Activity for a phone and tablet selected.

By selecting the type of project you want to create, Android Studio can include sample code and resources to help you get started. After you make a selection, click Next.

Configure your project

The next step is to configure some settings and create your new project, as described below and shown in figure 2.

  1. Specify the Name of project
  2. Specify the Package name. by default, this package name also becomes your application ID, which you can change later
  3. Specify the Save location where you want to locally store your project.
  4. Select the Language you want Android Studio to use when creating sample code for your new project. Keep in mind, you are not limited to using only that language creating the project.
  5. Select the Minimum API level you want your app to support. When you select a lower API level, your app can rely on fewer modern Android APIs. However, a large percentage of Android devices are able to run your app. The opposite is true when selecting a higher API level. If you want to see more data to help you decide, click Help me choose
  6. If you want your project to use AndroidX libraries by default, which are improved replacement of the Android Support libraries, check the box next to Use AndroidX artifacts.
  7. When you’re ready to create your project, click Finish.
    Android Studio creates your new project with some basic code and resources to get you stared. If you later decide to add support for a different device form factor, you can add a module to your project later. And if you want to share code and resources between modules, you can do so by creating an Android library.

Import an existing project

To import an existing, local project into Android Studio, proceed as follows:
  1. Click File > New > Import Project
  2. In the windows that appears, navigate to the root directory of the project you want to import
  3. Click OK
    Android Studio then opens the project in a new IDE window and indexes its contents. If you are importing a project from version control, use the FILE > NEW > Project from Version Control menu. For more information about importing projects from version control, read IntelliJ’s VCS-Specific Procedures.
    If you are importing an existing Eclipse ADT project into Android Studio, how you add the project depends on its structure. To read more about importing projects from Eclipse, see Migrating from Eclipse.

Comments
ChrystopherCDizon Comment Poster
>_xChrys4love@gmail.com
Ph
http://www.democritos.it/mailman/admin