{
  "schemaVersion": "0.11.0",
  "canonical": "https://www.pystone.net/notes/android-system-architecture/",
  "atlas": "https://www.pystone.net/?node=android-system-architecture#knowledge-atlas",
  "markdown": "https://www.pystone.net/notes/android-system-architecture.md",
  "context": "https://www.pystone.net/notes/android-system-architecture.context.json",
  "knowledgeVersion": "224c990773de.5fa8af6e39fa",
  "build": {
    "siteCommit": "224c990773de166d23a886306577dd90379529ce",
    "notesCommit": "5fa8af6e39fa3891d1b9b4832bfa6c4e0ecaaf0a",
    "builtAt": "1970-01-01T00:00:00.000Z",
    "version": "224c990773de.5fa8af6e39fa"
  },
  "id": "note:android-system-architecture",
  "slug": "android-system-architecture",
  "title": "Android系统架构",
  "type": "note",
  "visibility": "public",
  "idStability": "rename-stable",
  "author": {
    "name": "Perrin Yong",
    "profile": "https://www.pystone.net/profile/"
  },
  "publisher": {
    "name": "Perrin Yong",
    "profile": "https://www.pystone.net/profile/"
  },
  "aliases": [],
  "summary": "![](assets/image 20250122110347360.png)",
  "contentRole": "unspecified",
  "isMoc": false,
  "mocRecognition": "none",
  "generated": false,
  "attribution": "unspecified",
  "domain": "10-计算机、信息技术与工程",
  "tags": [],
  "mocs": [],
  "contentHash": "e8cab20476cddc7c45a8baa20124b86b078271ed72f0ea96e64a5b6066e2c7f0",
  "assets": [
    {
      "reference": "assets/image-20250122110347360.png",
      "url": "/media/e578cd6ee9f59c982e55.png",
      "mediaType": "image/png",
      "contentHash": "e578cd6ee9f59c982e556427b01a093fa0b1831baac6f0c09f34e70996ba4c9d",
      "byteLength": 195681,
      "width": 1384,
      "height": 2038
    }
  ],
  "headings": [
    {
      "depth": 2,
      "text": "Linux Kernal",
      "anchor": "linux-kernal",
      "citation": "https://www.pystone.net/notes/android-system-architecture/#linux-kernal"
    },
    {
      "depth": 2,
      "text": "Hardware abstraction layer (HAL)",
      "anchor": "hardware-abstraction-layer-hal",
      "citation": "https://www.pystone.net/notes/android-system-architecture/#hardware-abstraction-layer-hal"
    },
    {
      "depth": 2,
      "text": "Android runtime",
      "anchor": "android-runtime",
      "citation": "https://www.pystone.net/notes/android-system-architecture/#android-runtime"
    },
    {
      "depth": 2,
      "text": "Native C/C++ libraries",
      "anchor": "native-cc-libraries",
      "citation": "https://www.pystone.net/notes/android-system-architecture/#native-cc-libraries"
    },
    {
      "depth": 2,
      "text": "Java API framework",
      "anchor": "java-api-framework",
      "citation": "https://www.pystone.net/notes/android-system-architecture/#java-api-framework"
    },
    {
      "depth": 2,
      "text": "System apps",
      "anchor": "system-apps",
      "citation": "https://www.pystone.net/notes/android-system-architecture/#system-apps"
    },
    {
      "depth": 1,
      "text": "Android系统架构",
      "anchor": "android系统架构",
      "citation": "https://www.pystone.net/notes/android-system-architecture/#android%E7%B3%BB%E7%BB%9F%E6%9E%B6%E6%9E%84"
    }
  ],
  "claims": [],
  "outgoing": [
    {
      "id": "note:android-app-runtime-environment",
      "title": "Android应用程序与运行环境",
      "url": "https://www.pystone.net/notes/android-app-runtime-environment/",
      "atlas": "https://www.pystone.net/?node=android-app-runtime-environment#knowledge-atlas",
      "label": "Android应用程序与运行环境",
      "origin": "explicit",
      "humanReviewed": true,
      "context": "详见 Android应用程序与运行环境",
      "citation": "https://www.pystone.net/notes/android-system-architecture/#android-runtime"
    }
  ],
  "incoming": [
    {
      "id": "note:application-and-cloud-engineering",
      "title": "应用开发与云端工程",
      "url": "https://www.pystone.net/notes/application-and-cloud-engineering/",
      "atlas": "https://www.pystone.net/?node=application-and-cloud-engineering#knowledge-atlas",
      "label": "应用开发与云端工程",
      "origin": "explicit",
      "humanReviewed": true,
      "context": "Android开发中的“Android系统架构”导航项",
      "citation": "https://www.pystone.net/notes/application-and-cloud-engineering/#android%E5%BC%80%E5%8F%91"
    }
  ],
  "contentMarkdown": "![](assets/image-20250122110347360.png)\n\n\n## Linux Kernal\nthe Android Runtime (ART) relies on the Linux kernel for underlying functionalities\n\tthreading\n\tlow-level memory management\n\n## Hardware abstraction layer (HAL)\nprovides standard interfaces that expose device hardware capabilities\nconsists of multiple library modules\n\n## Android runtime\nFor devices running Android version 5.0 (API level 21) or higher, **each app** runs in its own process and with **its own instance of the Android Runtime** (ART).\n\n详见 [Android应用程序与运行环境](5%20信息技术领域/Android开发/Android应用程序与运行环境.md)\n## Native C/C++ libraries\nMany core Android system components and services, such as ART and HAL, are built from native code that requires native libraries written in C and C++. The Android platform provides Java framework APIs to expose the functionality of some of these native libraries to apps. For example, you can access OpenGL ES through the Android framework’s Java OpenGL API to add support for drawing and manipulating 2D and 3D graphics in your app.\n\n## Java API framework\nThe entire feature-set of the Android OS is available to you through APIs written in the Java language.\n\n## System apps\n\n\n# Android系统架构\nhttps://developer.android.com/guide/platform\n"
}
