{"id":24564757,"url":"https://github.com/abzico/setandroidbuildenv","last_synced_at":"2026-05-10T07:41:51.362Z","repository":{"id":144085018,"uuid":"181169877","full_name":"abzico/setandroidbuildenv","owner":"abzico","description":"Script to set building environment variables ready for building library for Android","archived":false,"fork":false,"pushed_at":"2019-04-14T17:27:09.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T11:34:46.005Z","etag":null,"topics":["android","bash","environment-variables","script"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abzico.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":"2019-04-13T12:45:27.000Z","updated_at":"2019-04-14T17:27:10.000Z","dependencies_parsed_at":"2023-05-29T01:30:41.670Z","dependency_job_id":null,"html_url":"https://github.com/abzico/setandroidbuildenv","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/abzico%2Fsetandroidbuildenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abzico%2Fsetandroidbuildenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abzico%2Fsetandroidbuildenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abzico%2Fsetandroidbuildenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abzico","download_url":"https://codeload.github.com/abzico/setandroidbuildenv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243960444,"owners_count":20375101,"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","bash","environment-variables","script"],"created_at":"2025-01-23T11:29:27.707Z","updated_at":"2025-10-29T00:08:51.219Z","avatar_url":"https://github.com/abzico.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# setandroidbuildenv\nScript to set building environment variables ready for building library for Android\n\n# How\n\nIt will set bunch of necessary environment variables to be used in building a library project for Android platform.\n\nThis requires you already install NDK, and set `$ANDROID_NDK_HOME` to your NDK version of choice.\n\nThere are the following configurable settings you can set\n\n* `host_tag` - indicate host value that builds (default is `linux-x86_64`)\n* `minsdkversion` - minimum sdk version to support, this is value of api level (default is 18)\n* `target_abi` - a single target abi value. it can be `armeabi-v7a`, `x86`, `arm64-v8a`, or `x86_64` (default is `armeabi-v7a`)\n\nThe way to send in above parameters can be done with\n\n```\n. ./setandroidbuildenv minsdkversion=21 target_abi=arm64-v8a\n```\n\nor in case you've installed `setandroidbuildenv` to your executable path i.e. `/usr/local/bin` then you do the following instead\n\n```\n. setandroidbuildenv minsdkversion=21 target_abi=arm64-v8a\n```\n\nNote `.` which is to source exported environment variables inside the script, so we can use it outside in active shell.\n\n# Available Commands/Parameters\n\n* `setandroidbuildenv --help` - to print help text\n* `. setandroidbuildenv --unset` - to unset all related and already set environment variables related in building operation (notice `.` source at the beginning of the command\n* `setandroidbuildenv --print-active` - to print active environment variables' value\n* `. setandroidbuildenv \u003coptional configurable settings\u003e` - to set environment variables for building\n\n# License\n[MIT](https://github.com/abzico/setandroidbuildenv/blob/master/LICENSE), Angry Baozi (https://abzi.co)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabzico%2Fsetandroidbuildenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabzico%2Fsetandroidbuildenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabzico%2Fsetandroidbuildenv/lists"}