{"id":16836839,"url":"https://github.com/mpl/go4droid","last_synced_at":"2025-03-22T04:30:56.842Z","repository":{"id":142004334,"uuid":"92549594","full_name":"mpl/go4droid","owner":"mpl","description":"build an android app (with go bindings) in Docker","archived":false,"fork":false,"pushed_at":"2018-11-05T13:24:56.000Z","size":9,"stargazers_count":35,"open_issues_count":1,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T08:11:19.708Z","etag":null,"topics":["android-development","docker","go","gradle"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-05-26T21:27:38.000Z","updated_at":"2025-02-06T16:39:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"0517d557-e02a-44da-9e85-c255c01675fc","html_url":"https://github.com/mpl/go4droid","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/mpl%2Fgo4droid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpl%2Fgo4droid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpl%2Fgo4droid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpl%2Fgo4droid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpl","download_url":"https://codeload.github.com/mpl/go4droid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244907420,"owners_count":20529850,"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-development","docker","go","gradle"],"created_at":"2024-10-13T12:15:06.963Z","updated_at":"2025-03-22T04:30:56.837Z","avatar_url":"https://github.com/mpl.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go4droid\nTo build an android app (with go bindings) in Docker\n\nThis Dockerfile was specifically written to build `golang.org/x/mobile/example/bind/android` (with [golang.org/x/mobile/cmd/gomobile](https://godoc.org/golang.org/x/mobile/cmd/gomobile)) but it should be possible to reuse or adapt it to build other android apps with go bindings (or even without).\n\nThe docker image is hosted at [mpl7/go4droid](https://hub.docker.com/r/mpl7/go4droid/).\n\n## usage example:\n\n\tdocker build -t go4droid . # or docker pull mpl7/go4droid\n\tmkdir $HOME/.gradle # for caching\n\tgo get -d golang.org/x/mobile/example/bind/...\n\tcd $GOPATH/src/golang.org/x/mobile/example/bind/android\n\tdocker run --rm -v \"$PWD\":/home/gopher/project -v $HOME/.gradle:/home/gopher/.gradle -w /home/gopher/project --name go4droid -i -t go4droid /bin/bash\n\tgomobile bind -o app/hello.aar -target=android golang.org/x/mobile/example/bind/hello\n\tgradle wrapper --gradle-version 4.4 # only needed once, to generate the gradle wrapper.\n\t./gradlew assembleDebug\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpl%2Fgo4droid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpl%2Fgo4droid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpl%2Fgo4droid/lists"}