{"id":25715353,"url":"https://github.com/lwjgl/android-test","last_synced_at":"2025-05-05T16:46:23.677Z","repository":{"id":149964404,"uuid":"82573361","full_name":"LWJGL/android-test","owner":"LWJGL","description":"Android example project and tests with LWJGL","archived":false,"fork":false,"pushed_at":"2023-08-30T12:22:54.000Z","size":109,"stargazers_count":33,"open_issues_count":4,"forks_count":4,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-30T22:32:16.194Z","etag":null,"topics":["android","lwjgl","opengl-es","vulkan"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/LWJGL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2017-02-20T15:34:08.000Z","updated_at":"2024-11-14T01:16:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c795601-ae17-4563-b79e-81522506b3f1","html_url":"https://github.com/LWJGL/android-test","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/LWJGL%2Fandroid-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LWJGL%2Fandroid-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LWJGL%2Fandroid-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LWJGL%2Fandroid-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LWJGL","download_url":"https://codeload.github.com/LWJGL/android-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252535777,"owners_count":21764013,"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","lwjgl","opengl-es","vulkan"],"created_at":"2025-02-25T13:52:53.452Z","updated_at":"2025-05-05T16:46:23.655Z","avatar_url":"https://github.com/LWJGL.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![lwjgl-android](https://i.imgur.com/bUMfzP6.jpg)\n\n[![License](https://img.shields.io/badge/license-BSD-blue.svg)](https://github.com/LWJGL/android-test/blob/master/LICENSE.md)\n![Size](https://reposs.herokuapp.com/?path=lwjgl/android-test)\n[![Slack Status](https://slack.lwjgl.org/badge.svg)](https://slack.lwjgl.org/)\n\n## LWJGL 3 - Android example project and tests\n\nBuild instructions for the Android version of lwjgl3:\n\n- `clone` [lwjgl3](https://github.com/LWJGL/lwjgl3) and `checkout` the `android` branch.\n- `SET/export` the `ANDROID_SDK_HOME` environment variable. Its value should be the root of the Android SDK. The Android NDK must also be installed under the root, in the default `ndk-bundle` subdirectory.\n- Run `ant compile-templates`. This will take 1-2 minutes.\n- Run `ant aar`. This will produce an `lwjgl.aar` file in the `bin/android/` folder.\n- Copy `lwjgl.aar` to the `android-test` repository, in the `lwjgl` folder.\n\nBuild instructions for the Android demos:\n\n- Open the root in Android Studio.\n- Wait for gradle synchronization and indexing to complete.\n- Build the project.\n- Connect a platform 24 compatible device, either via USB or Wi-Fi.\n- Launch either the `gears` or `hellovulkan` run configurations. (shortcut: `Alt+Shift+F10`)\n\nInstallation of Vulkan validation layers:\n\n- Create a JNI library folder for the target architecture. For example:\n    * `hellovulkan/src/main/jniLibs/arm64-v8a/` or\n    * `hellovulkan/src/main/jniLibs/armeabi-v7a/`\n- Copy the shared libraries from the corresponding folder in the Android NDK. For example:\n    * `\u003csdkroot\u003e/ndk-bundle/sources/third_party/vulkan/src/build-android/jniLibs/arm64-v8a/` or\n    * `\u003csdkroot\u003e/ndk-bundle/sources/third_party/vulkan/src/build-android/jniLibs/armeabi-v7a/`\n- Set the `VALIDATE` variable to `true` in `HelloVulkan.java:53`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwjgl%2Fandroid-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flwjgl%2Fandroid-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwjgl%2Fandroid-test/lists"}