{"id":18051538,"url":"https://github.com/jin/bazel-android-ndk-example","last_synced_at":"2026-04-14T03:33:06.901Z","repository":{"id":139300065,"uuid":"140208108","full_name":"jin/bazel-android-ndk-example","owner":"jin","description":"Build C++ for Android using Bazel and NDK","archived":false,"fork":false,"pushed_at":"2018-07-08T23:01:30.000Z","size":185,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T07:12:14.797Z","etag":null,"topics":["android","android-ndk","bazel","cpp"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/jin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-08T22:52:33.000Z","updated_at":"2023-05-16T10:43:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad1d3e3f-c30f-4cf8-aaee-2fd0be9c5752","html_url":"https://github.com/jin/bazel-android-ndk-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jin/bazel-android-ndk-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jin%2Fbazel-android-ndk-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jin%2Fbazel-android-ndk-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jin%2Fbazel-android-ndk-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jin%2Fbazel-android-ndk-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jin","download_url":"https://codeload.github.com/jin/bazel-android-ndk-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jin%2Fbazel-android-ndk-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31781292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: 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":["android","android-ndk","bazel","cpp"],"created_at":"2024-10-30T22:49:26.768Z","updated_at":"2026-04-14T03:33:06.887Z","avatar_url":"https://github.com/jin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android NDK with Bazel example\n\n## Instructions\n\n1) Launch emulator\n2) Run `bazel mobile-install //app/src/main:app --fat_apk_cpu=x86 --incremental --start_app`\n3) Profit\n\n\u003cimg src=\"/images/result.png\" width=\"400px\" /\u003e\n\n## Build graph\n\n![](/images/graph.png)\n\n- JNI/C++ sources goes into the `cc_library` target, `//app/src/main:jni_lib`.\n- Java sources, resource files, and assets go into the `android_library`\n  target, `//app/src/main:lib`. This target depends on the `cc_library` target.\n- APK is built from the `android_binary` target, `//app/src/main:app`. This\n  target depends on the `android_library` target.\n\nNOTE: This graph omits the Google Maven AAR dependencies.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjin%2Fbazel-android-ndk-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjin%2Fbazel-android-ndk-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjin%2Fbazel-android-ndk-example/lists"}