Android example project and tests with LWJGL
Build instructions for the Android version of lwjgl3:
clone
lwjgl3 and checkout
the android
branch.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.ant compile-templates
. This will take 1-2 minutes.ant aar
. This will produce an lwjgl.aar
file in the bin/android/
folder.lwjgl.aar
to the android-test
repository, in the lwjgl
folder.Build instructions for the Android demos:
gears
or hellovulkan
run configurations. (shortcut: Alt+Shift+F10
)Installation of Vulkan validation layers:
hellovulkan/src/main/jniLibs/arm64-v8a/
orhellovulkan/src/main/jniLibs/armeabi-v7a/
<sdkroot>/ndk-bundle/sources/third_party/vulkan/src/build-android/jniLibs/arm64-v8a/
or<sdkroot>/ndk-bundle/sources/third_party/vulkan/src/build-android/jniLibs/armeabi-v7a/
VALIDATE
variable to true
in HelloVulkan.java:53