Android building: Could NOT find Adb
CMake Error at /Users/XXX/Library/Android/sdk/cmake/3.22.1/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Adb (missing: ADB_EXECUTABLE) (Required is at least version "1.0.39") Call Stack (most recent call first): /Users/XXX/Library/Android/sdk/cmake/3.22.1/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /Users/XXX/Documents/Docs/vulkan/Vulkan-Samples/bldsys/cmake/module/FindAdb.cmake:50 (find_package_handle_standard_args) /Users/XXX/Documents/Docs/vulkan/Vulkan-Samples/bldsys/cmake/android_sync_folder.cmake:26 (find_package)
Fix the issue: find_package(Adb 1.0.39 REQUIRED) update to find_package(adb 1.0.39 REQUIRED), case sensitive.
Another issue is: shader files are not automatically packaged in APK. For example can't find the triangle.vert
Shader files are packaged as part of the apk build process. What sample does fail?
Shader files are packaged as part of the apk build process. What sample does fail?
BUILD SUCCESSFULLY. But None of the shader files are packaged into the apk.
Did you sync the files as noted in https://github.com/KhronosGroup/Vulkan-Samples/blob/main/docs/build.adoc#3d-models?
Did you sync the files as noted in https://github.com/KhronosGroup/Vulkan-Samples/blob/main/docs/build.adoc#3d-models?
Fine, it will fix issue. Thx
The spelling of "Adb" is right in this case. That's not the name of the "adb" binary, but rather the "FindAdb.cmake" file, so spelling has to match. That script does indeed look for adb with lower case.