Android studio


What is Android studio?




                      Android Studio is the official integrated development environment 2 for Google's Android operating system, built on JetBrains' IntelliJ IDEA 3 software and designed specifically for Android development. such us:

                    A flexible Gradle-based build system
    
                    A fast and feature-rich emulator
   
                    A unified environment where you can develop for all Android devices

                    Apply Changes to push code and resource changes to your running app without 4 restarting your app

                    Code templates and GitHub integration to help you build common app features 5 and import sample code

                    Extensive testing tools and frameworks

                    Lint tools to catch performance, usability, version compatibility, and other 6 problems
 
                    C++ and NDK support

Built-in support for 7 Google Cloud Platform, 8 making it easy to integrate Google Cloud Messaging and App Engine


    

Project structure

                         Each project in Android Studio contains one or more modules with source code 9 files and resource files. Types of modules include:
  • Android app modules
  • Library modules
  • Google App Engine module

                    By default, Android Studio displays your project files in the Android project 14 view, as shown in figure 1. This view is organized by modules to provide quick 15 access to your project's key source files

All the build files are visible at the top level under Gradle Scripts and 18 each app module contains the following folders

  • manifests: Contains the AndroidManifest.xml file.
  • java: Contains the Java source code files, including JUnit test code.
  • res: Contains all non-code resources, such as XML layouts, UI strings, 21 and bitmap images

            The Android project structure on disk differs from this flattened 24 representation. To see the actual file structure of the project, select 25 Project from the Project dropdown (in figure 1, it's showing as 26 Android).

            You can also customize the view of the project files to focus on specific 29 aspects of your app development. For example, selecting the Problems view of 30 your project displays links to the source files containing any recognized 31 coding and syntax errors, such as a missing XML element closing tag in a layout 32 file.

                                           

manifests
Contains the AndroidManifest.xml file.
java
Contains the Java source code files, separated by package names, 33 including JUnit test code.
res
Contains all non-code resources, such as XML layouts, UI strings, and 34 bitmap images, divided into corresponding sub-directories. For more information 35 about all possible resource types
                             
https://developer.android.com/studio/intro#project_structure
https://developer.android.com/studio/intro#project_structure
https://developer.android.com/studio/intro#project_structure
https://developer.android.com/studio/intro#project_structure

No comments:

Post a Comment

Popular

Pages