{"id":20574507,"url":"https://github.com/nkh-lab/aosp-share-avd","last_synced_at":"2026-04-19T12:34:01.038Z","repository":{"id":128645909,"uuid":"501621283","full_name":"nkh-lab/aosp-share-avd","owner":"nkh-lab","description":"Sharing AVD system images for others to use with Android Studio","archived":false,"fork":false,"pushed_at":"2022-06-18T16:24:28.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T21:39:39.606Z","etag":null,"topics":["android","androidstudio","aosp","avd","emulator","sdk"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nkh-lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-09T11:18:16.000Z","updated_at":"2023-09-20T07:47:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e086cac-664c-4e48-a453-9b63c28f5fb2","html_url":"https://github.com/nkh-lab/aosp-share-avd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkh-lab%2Faosp-share-avd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkh-lab%2Faosp-share-avd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkh-lab%2Faosp-share-avd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkh-lab%2Faosp-share-avd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nkh-lab","download_url":"https://codeload.github.com/nkh-lab/aosp-share-avd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242195910,"owners_count":20087760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","androidstudio","aosp","avd","emulator","sdk"],"created_at":"2024-11-16T05:34:59.096Z","updated_at":"2025-12-05T12:03:35.054Z","avatar_url":"https://github.com/nkh-lab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Intro\n\nThis project explains how to share AVD system images (Emulator) for others to use with Android Studio.\n\n## How to use\n\nThe [NCAR](https://github.com/nkh-lab/aosp-ncar-manifest) project is used as an example of an AOSP project.\n\n### 1. Build SDK package and generate System Image XML file\n\n- Build **SDK package** for you AOSP device:\n```\n$ . ./build/envsetup.sh\n$ lunch ncar_x86-userdebug\n$ make sdk\n```\n- Generate **System Image XML** file for hosting **SDK package** in Android Studio:\n```\n$ . ./vendor/nkh-lab/tools/share-avd/scripts/gen-sys-img-xml.sh\nSystem Image XML file has been built:\n/home/user1/ncar/out/host/linux-x86/sdk/ncar_x86/android-sdk_eng.user1_linux-x86.xml\n```\n`Note:` The default [TAG_ID](templates/sys-img-template.xml) is **android-automotive**, if you need to use a different one, then pass it to the gen script, for example:\n```\n$ . ./gen-sys-img-xml.sh android-tv\n``` \n- Now **SDK package** and **System Image XML** file can be shared.\n\n### 2. Add Emulator to Android Studio\n- Put **SDK package** and **System Image XML** file in one folder.\n- In Android Studio, select **Tools \u003e SDK Manager**.\n- Click the **SDK Update Sites** tab.\n- Click **+** to add new one.\n- Enter the name and path to **System Image XML** file in popup window:\n```\nName: NCAR\nURL: /home/user2/shared-avds/android-sdk_eng.user1_linux-x86.xml\n```\n- Click **OK**.\n- Click **Apply** on main **SDK Manager** form.\n- Switch to the **SDK Platforms** tab.\n- Enable the **Show Package Details** checkbox.\n- Enable **ncar emulator** under **Android API (Sv2)**.\n- Click **OK**.\n\n### 3. Create Android Virtual Device in Android Studio\n- Restart Android Studio before creating an AVD.\n- In Android Studio, select **Tools \u003e Device Manager**.\n- Click **Create Device**.\n- Select **Automotive** from the **Category** menu list.\n- Click **New Hardware Profile** or **Clone** on an existing default device and then configure the settings (`Note:` For given example **Device Type** should be set as **Android Automotive**) and click **Finish**.\n- Click **Next**.\n- On **x86 Images** select **ncar emulator** in **Target** row.\n- Click **Finish**.\n- **NCAR API 32** device should be now visible in the **Device** list.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnkh-lab%2Faosp-share-avd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnkh-lab%2Faosp-share-avd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnkh-lab%2Faosp-share-avd/lists"}