{"id":25697945,"url":"https://github.com/codeljo/ndk_command_line_app","last_synced_at":"2025-08-21T03:20:10.484Z","repository":{"id":208975174,"uuid":"722908631","full_name":"codeljo/ndk_command_line_app","owner":"codeljo","description":"Android NDK Command Line App Example","archived":false,"fork":false,"pushed_at":"2024-01-05T08:56:10.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T02:39:08.432Z","etag":null,"topics":["android","ndk","ndk-build","ndk-sample"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/codeljo.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":"2023-11-24T08:35:35.000Z","updated_at":"2023-11-24T09:32:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"66d26e8b-f027-4f76-a188-461a38c5bd8b","html_url":"https://github.com/codeljo/ndk_command_line_app","commit_stats":null,"previous_names":["codeljo/ndk_command_line_app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeljo/ndk_command_line_app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeljo%2Fndk_command_line_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeljo%2Fndk_command_line_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeljo%2Fndk_command_line_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeljo%2Fndk_command_line_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeljo","download_url":"https://codeload.github.com/codeljo/ndk_command_line_app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeljo%2Fndk_command_line_app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271420167,"owners_count":24756492,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","ndk","ndk-build","ndk-sample"],"created_at":"2025-02-25T02:34:46.614Z","updated_at":"2025-08-21T03:20:10.478Z","avatar_url":"https://github.com/codeljo.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NDK Command Line App\n\n### Add Android SDK tools to your PATH\n```\nexport PATH=$PATH:/path/to/Android/Sdk/platform-tools/\n```\n\n### Add Android NDK to your PATH\n```\nexport PATH=$PATH:/path/to/android-ndk/\n```\n\n### Setup NDK_PROJECT_PATH\n```\nexport NDK_PROJECT_PATH=.\n```\n\n### Clean Build\n```\nndk-build NDK_APPLICATION_MK=./Application.mk clean\n```\n\n### Build App\n```\nndk-build NDK_APPLICATION_MK=./Application.mk\n```\n\n### Transfer compiled app to Android device\n```\nadb connect ANDROID_IP_HERE\nadb push ./libs/armeabi-v7a/main.out /data/local/tmp/\n```\n\n### Run binary on Android device\n```\nadb shell\nchmod 755 /data/local/tmp/main.out\n/data/local/tmp/main.out\n```\n\n### NDK Reference\n\nABI | Supported Instruction Sets\n----|------------------------------------------------------\narmeabi-v7a | armeabi, Thumb-2, VFPv3-D16\narm64-v8a   | AArch64\nx86         | x86, MMX, SSE/2/3, SSSE3\nx86_64      | x86-64, MMX, SSE/2/3, SSSE3, SSE4.1, SSE4.2, POPCNT\nall         | build for all ABI's\n\n\u003e The NDK supported ARMv5 (armeabi), and 32-bit and 64-bit MIPS, but support for these ABIs was removed in NDK r17.\n\nhttps://developer.android.com/ndk/guides/ndk-build\n\nhttps://developer.android.com/ndk/guides/android_mk\n\nhttps://developer.android.com/ndk/guides/application_mk\n\nhttps://developer.android.com/ndk/guides/cpp-support\n\nhttps://developer.android.com/ndk/guides/abis\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeljo%2Fndk_command_line_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeljo%2Fndk_command_line_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeljo%2Fndk_command_line_app/lists"}