Skip to content

How to use the Vulkan validation layers on Android

Henrik Rydgård edited this page Aug 3, 2023 · 1 revision

Just a quick reminder to self.

  1. Download the latest layers from here

  2. Extract the layers appropriately:

The easiest way to add the layers to your APK is to extract the prebuilt layer binaries to the src/main/jniLibs/ directory of your module, with ABI directories (such as arm64-v8a or x86-64) intact, like this:


src/main/jniLibs/
  arm64-v8a/
    libVkLayer_khronos_validation.so
  armeabi-v7a/
    libVkLayer_khronos_validation.so
  x86/
    libVkLayer_khronos_validation.so
  x86-64/
    libVkLayer_khronos_validation.so