{"id":19368743,"url":"https://github.com/chaifeng/vagrant-android-develop","last_synced_at":"2026-02-19T18:32:08.123Z","repository":{"id":25784405,"uuid":"29222864","full_name":"chaifeng/vagrant-android-develop","owner":"chaifeng","description":null,"archived":false,"fork":false,"pushed_at":"2015-07-28T00:17:32.000Z","size":248,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"atdd","last_synced_at":"2025-10-25T22:38:41.192Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PLSQL","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/chaifeng.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}},"created_at":"2015-01-14T02:21:02.000Z","updated_at":"2015-04-19T10:17:45.000Z","dependencies_parsed_at":"2022-08-23T11:51:28.618Z","dependency_job_id":null,"html_url":"https://github.com/chaifeng/vagrant-android-develop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chaifeng/vagrant-android-develop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaifeng%2Fvagrant-android-develop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaifeng%2Fvagrant-android-develop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaifeng%2Fvagrant-android-develop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaifeng%2Fvagrant-android-develop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaifeng","download_url":"https://codeload.github.com/chaifeng/vagrant-android-develop/tar.gz/refs/heads/atdd","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaifeng%2Fvagrant-android-develop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29627112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T18:02:07.722Z","status":"ssl_error","status_checked_at":"2026-02-19T18:01:46.144Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-10T08:08:08.829Z","updated_at":"2026-02-19T18:32:08.106Z","avatar_url":"https://github.com/chaifeng.png","language":"PLSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"vagrant-android-develop\n=======================\n\nA Vagrant VM for Android development environment\n\n## Requement\n\nTo install, download and install [Vagrant](https://www.vagrantup.com/) for your platform, then download and install [VirtualBox](https://www.virtualbox.org/).\n\n## Quick start\n\n``` console\ncurl -L https://bit.ly/vadqs | bash\n```\n\n## Manual\n\nClone and switch into this repository, update submodules\n\n``` console\n$ cd vagrant-android-develop\n$ git submodule update --init --recursive\n```\n\nRun command `vagrant up` to start the VM\n\n``` console\n$ vagrant up\n```\n\nIf you got any errors, destroy the VM and run again. \n\n``` console\n$ vagrant destroy\n$ vagrant up\n```\n\nOnce everything completes, run the below command to build the WordPress for Android project\n\n``` console\n$ vagrant ssh -c 'cd src/WordPress-Android; gradle assembleVanilla'\n```\n\n### How to connect a Android Virtual Device?\n\nRun *Genymotion* on your host, and start an Android VM. Then run `adb devices` on your host. Another way, you can find the IP of Android VM at the window title. (In most of cases, the first Android VM's IP address is *192.168.56.101*, and the second one's is *192.168.56.102*, etc.) Assume the IP address is *192.168.56.101*. Run the below command on Vagrant VM:\n\n``` console\n$ adb connect 192.168.56.101\n```\n\n### How to connect a Android phone?\n\nFirst, use command `VBoxManage list usbhost` to find the *VendorId* of your Android phone.\n\n``` console\n$ VBoxManage list usbhost\nHost USB Devices:\n\nUUID:               d957abf9-18bf-46c6-a182-0466509d36de\nVendorId:           0x04e8 (04E8)\nProductId:          0x6868 (6868)\nRevision:           4.0 (0400)\nPort:               1\nUSB version/speed:  0/2\nManufacturer:       SAMSUNG\nProduct:            SAMSUNG_Android\nSerialNumber:       4df782582f0e405b\nAddress:            p=0x6868;v=0x04e8;s=0x0000608fbd70f37e;l=0x14100000\nCurrent State:      Busy\n```\n\nNow we got the VendorId '*0x04e8*'. Set a system environment variable '*ANDROID_VENDOR_ID*' to this value, and reload the VM. Maybe you need to plug in your device again.\n\n``` console\n$ ANDROID_VENDOR_ID=0x04e8 vagrant reload\n```\n\n## What's inside?\n\n * Git\n * OpenJDK 7\n * Gradle 2.2.1\n * Maven 3.2.3\n * Ant 1.9.4\n * Apache httpd\n * PHP\n * MySQL\n * Ruby\n * RVM\n * Cucumber\n * Calabash\n * WordPress\n * WordPress Client for Android\n * Android SDK with packages:\n   - tools\n   - platform-tools\n   - build-tools\n   - android\n   - extra-android-m2repository\n   - extra-android-support\n   - extra-google-m2repository\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaifeng%2Fvagrant-android-develop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaifeng%2Fvagrant-android-develop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaifeng%2Fvagrant-android-develop/lists"}