{"id":16188622,"url":"https://github.com/konsumer/androidx","last_synced_at":"2025-10-10T10:39:00.875Z","repository":{"id":142067874,"uuid":"404554482","full_name":"konsumer/androidx","owner":"konsumer","description":"Easy graphical Android emulaton in docker, if you are using X on the host","archived":false,"fork":false,"pushed_at":"2021-10-11T20:39:43.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-13T16:22:56.095Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/konsumer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"konsumer"}},"created_at":"2021-09-09T02:04:24.000Z","updated_at":"2022-12-06T16:36:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c418abb-3b8b-4fe1-8f4f-1978975d70ed","html_url":"https://github.com/konsumer/androidx","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/konsumer%2Fandroidx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Fandroidx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Fandroidx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Fandroidx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/konsumer","download_url":"https://codeload.github.com/konsumer/androidx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247662654,"owners_count":20975287,"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":[],"created_at":"2024-10-10T07:28:40.802Z","updated_at":"2025-10-10T10:38:55.841Z","avatar_url":"https://github.com/konsumer.png","language":"Shell","funding_links":["https://github.com/sponsors/konsumer"],"categories":[],"sub_categories":[],"readme":"# androidx\n\nEasy graphical Android emulaton in docker, if you are using X/kvm on the host (requires linux.)\n\n## usage\n\nYou can run a graphical rooted API-30 playstore emulator with this:\n\n```\ndocker run --rm -it \\\n    --device /dev/kvm \\\n    -e \"DISPLAY=${DISPLAY:-:0.0}\" \\\n    -v ${XAUTHORITY}:/root/.Xauthority \\\n    -v /tmp/.X11-unix:/tmp/.X11-unix \\\n    konsumer/androidx\n```\n\nafter that, if you want to connect via adb:\n\n```\ndocker ps\ndocker exec -it ID_FROM_ABOVE adb shell\n```\n\n### volumes\n\nThere are 2 volumes you can use for persistence of your emulator (and faster boot):\n\n- `/opt/android/system-images` - this is where the huge system-images are located\n- `/root/.android` - this ios where the emulator settings are located, and they are also pretty big\n\nSo, to put all together with persistence:\n\n```\ndocker run --rm -it \\\n    --device /dev/kvm \\\n    -e \"DISPLAY=${DISPLAY:-:0.0}\" \\\n    -v ${XAUTHORITY}:/root/.Xauthority \\\n    -v /tmp/.X11-unix:/tmp/.X11-unix \\\n    -v ${PWD}/emulator/system-images:/opt/android/system-images \\\n    -v ${PWD}/emulator/settings:/root/.android \\\n    konsumer/androidx\n```\n\n### env-vars\n\nThere are a few variables you can use to modify what emulator you want to use. These are the defaults:\n\n```\nANDROID_API=\"30\"\nANDROID_TAG=\"google_apis_playstore\"\n```\n\n\n### dev notes\n\nThis is how to publish:\n\n```\ndocker build --tag konsumer/androidx:latest .\ndocker push konsumer/androidx:latest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonsumer%2Fandroidx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonsumer%2Fandroidx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonsumer%2Fandroidx/lists"}