{"id":26821606,"url":"https://github.com/atkawa7/prefab-vpkg-integration-sample","last_synced_at":"2025-10-30T06:16:56.710Z","repository":{"id":97851923,"uuid":"244331251","full_name":"atkawa7/prefab-vpkg-integration-sample","owner":"atkawa7","description":"An example project to show integration with vcpkg and prefab","archived":false,"fork":false,"pushed_at":"2020-03-02T10:54:54.000Z","size":135,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T07:31:58.085Z","etag":null,"topics":["android","native-library","prefab","sample","samples","vcpkg"],"latest_commit_sha":null,"homepage":"","language":"Java","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/atkawa7.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":"2020-03-02T09:31:10.000Z","updated_at":"2023-12-24T03:41:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"9863ba92-44b9-4a85-a6b8-5a4e20859144","html_url":"https://github.com/atkawa7/prefab-vpkg-integration-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/atkawa7/prefab-vpkg-integration-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atkawa7%2Fprefab-vpkg-integration-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atkawa7%2Fprefab-vpkg-integration-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atkawa7%2Fprefab-vpkg-integration-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atkawa7%2Fprefab-vpkg-integration-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atkawa7","download_url":"https://codeload.github.com/atkawa7/prefab-vpkg-integration-sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atkawa7%2Fprefab-vpkg-integration-sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269910267,"owners_count":24494923,"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-11T02:00:10.019Z","response_time":75,"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","native-library","prefab","sample","samples","vcpkg"],"created_at":"2025-03-30T07:31:28.980Z","updated_at":"2025-10-30T06:16:56.639Z","avatar_url":"https://github.com/atkawa7.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Prefab Vpkg Integration Sample\n\n## Checkout getting started on vcpkg https://github.com/microsoft/vcpkg\n\n*** This requires android studio version 4.0 and above***\n\n### install all support android triplets for a package.\n\n```\nvcpkg install jsoncpp --triplet arm64-android\nvcpkg install jsoncpp --triplet arm-android\nvcpkg install jsoncpp --triplet x64-android\nvcpkg install jsoncpp --triplet x86-android\n```\n\n### Then export using the following.\n\n```\nvcpkg export jsoncpp --triplet x86-android  --prefab\n\n\n```\n\nIn app/build.gradle\n\nAdd files\n\n```\n   implementation 'com.vcpkg.ndk.support:jsoncpp:1.9.2'\n```\n\nAnd cmake flags \n\n```\nexternalNativeBuild {\n            cmake {\n                arguments '-DANDROID_STL=c++_shared'\n                cppFlags \"-std=c++17\"\n            }\n        }\n```\n\nIn  gradle.properties\n```\n# Enables Prefab\nandroid.enablePrefab=true\n# Work around https://issuetracker.google.com/149575364\nandroid.enableParallelJsonGen=false\n# 4.0.0 canary 9 defaults to Prefab 1.0.0-alpha3, which is not the latest.\nandroid.prefabVersion=1.0.0-alpha5\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatkawa7%2Fprefab-vpkg-integration-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatkawa7%2Fprefab-vpkg-integration-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatkawa7%2Fprefab-vpkg-integration-sample/lists"}