Android Development Learning

Source: Internet
Author: User

The Android.mk file is used to describe to the compilation system how to compile your source code . To be more precise, the document is actually a small makefile.

The so file for Android is a dynamic link library under UNIX, which is a binary file, equivalent to the Windows DLL

NDK Native Development Kit

A collection of one or one series tools to help developers quickly develop C + + dynamic libraries and automatically package so and Java applications together as APK. Simply modify the Mk file (indicating which files need to be compiled, compile the feature requirements), and you can create the so.

Second, to provide a stable, functional limited API header file declaration.

Getting Started with Android Studio blog: http://www.cnblogs.com/laughingQing/p/5848425.html

Gradle is a project Automation building tool based on the Apache Ant and Apache maven concepts. Help you manage differences, dependencies, builds, packages, and deployments in your project

After the new project, the product directory structure for as is as follows:

    The project configuration file generated by the. Idea://as, similar to Eclipse's project.properties.    app://as Create a module in the project.    gradle://the jar and wrapper of the build tool system, the jar tells the as how to build contact with the Gradle of the system installation.    External libraries://is not a folder, just rely on Lib files, such as the SDK.

After the new project, the module directory structure of As is as follows:

    build://build directory, equivalent to the default Java project in Eclipse Bin directory, the mouse on the right-click Show in Exploer to open the folder,        compile the generated apk is also in this directory of the Outs subdirectory, However, in the as project is the default does not show the out directory, even if there are compiled results are        not displayed, right-click through the folder directly can see.    libs://Dependency packages that contain packages such as jar packages and JNI.    src://source code, equivalent to eclipse of the project.    main://home folder         Java://java code, including engineering and new is the default generated test project source.         res://resource file, similar to eclipse.            layout://app Layout and interface element configuration, similar to eclipse.            Menu://app menu configuration, similar to eclipse.             values://is similar to eclipse.                dimens.xml://defines the configuration file for the CSS.                 strings.xml://defines the configuration file for the string.                 styles.xml://defines the configuration file for the style.                ...... ://arrays and other files.            ...... ://assets directory        androidmanifest.xml://app basic information (Android managed files)         Ic_launcher-web.png://app icon     Build.gradle://module's Gradle Build script

Android Development Learning

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.