{"id":16935446,"url":"https://github.com/codeskyblue/docker-goandroid","last_synced_at":"2026-05-11T06:31:35.326Z","repository":{"id":23482062,"uuid":"26847046","full_name":"codeskyblue/docker-goandroid","owner":"codeskyblue","description":"Dockerfile for golang1.4 android development environment","archived":false,"fork":false,"pushed_at":"2014-11-21T02:38:27.000Z","size":1108,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T01:18:21.364Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeskyblue.png","metadata":{"files":{"readme":"README","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}},"created_at":"2014-11-19T06:01:24.000Z","updated_at":"2022-11-23T11:07:11.000Z","dependencies_parsed_at":"2022-08-22T00:50:58.637Z","dependency_job_id":null,"html_url":"https://github.com/codeskyblue/docker-goandroid","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/codeskyblue%2Fdocker-goandroid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Fdocker-goandroid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Fdocker-goandroid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Fdocker-goandroid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeskyblue","download_url":"https://codeload.github.com/codeskyblue/docker-goandroid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244736118,"owners_count":20501417,"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-13T20:54:33.142Z","updated_at":"2026-05-11T06:31:30.273Z","avatar_url":"https://github.com/codeskyblue.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"The go.mobile repository holds libraries and build tools for Go on Android.\n\nThis is early stage work. The build system integration is not ready.\nFor now,\n\n1. Install the Android SDK, either standalone or via Android Studio.\n\n2. Install the Android NDK.\n\n3. Pick a home for the standalone NDK toolchain and set an environment variable:\n\tNDK_ROOT=$HOME/android/ndk-toolchain\n\n4. Confiure the NDK toolchain:\n\tndk/build/tools/make-standalone-toolchain.sh \\\n\t\t--platform=android-9 --install-dir=$NDK_ROOT\n\n5. Install a Go cross-compiler from the unstable development branch:\n\thg clone https://code.google.com/p/go\n\tcd go/src\n\tCC_FOR_TARGET=$NDK_CC GOOS=android GOARCH=arm GOARM=7 ./make.bash\n\n   More details about installing from source are available at\n   https://golang.org/doc/install/source.\n\n6. Use the Go tool installed in the go/bin created above.\n   For simplicity, put it on your path.\n\nFrom here, there are two kinds of Android projects you can build,\nAndroid apps written in Java with Go libraries, and Android apps\nbuilt entirely in Go. The first lets you use standard Android UI\nlibraries from Java, the second gives you only OpenGL, but an\nentirely Go development environment.\n\n\nGo library in an Android app - via ant/build.xml\n-------------\n\nApps are written in Java, developed using the standard Android\ntools, that include a Go library for added functionality. There is an\nexample of such a library in go.mobile/example/libhello.\n\nUse the all.bash script in the libhello directory to build and run it.\nMore details on the build process are in libhello/README.\n\n\nGo library in an Android app - via gradle\n-------------\n\nComing soon.\n\nFor now, create an app in Android Studio, build the .so file in the\nsame way it is in the ant/build.xml examples and copy it into\nYourApp/src/main/jniLibs/armeabi/libgojni.so.\n\n\nGo Android apps (games)\n-------------\n\nGo Android apps are built on top of the NDK's NativeActivity. These apps\nare written entirely in Go. An example of such an app, with touch events\nand OpenGL, is in go.mobile/example/basic.\n\nTo build and deploy the app to the device currently attached to adb,\nuse the all.bash script in the example's directory. It requires\nndk-build, ant, and adb on your PATH.\n\nAPIs are currently very limited, but under active development.\n\nTo submit changes to this repository, see http://golang.org/doc/contribute.html.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeskyblue%2Fdocker-goandroid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeskyblue%2Fdocker-goandroid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeskyblue%2Fdocker-goandroid/lists"}