From ac2fb403c4e557b2627aca2595dfcf0eed38eb8e Mon Sep 17 00:00:00 2001 From: tomnomgoogleuk Date: Thu, 9 Jul 2026 14:06:23 +0100 Subject: [PATCH] Compile with static version of com.google.android.gms.gni.c to fix 16ki warning com.google.android.gms.gni.c::gni_shared isn't 16 KiB aligned and is causing the sample to throw a warning. Statically compile the library instead to avoid this. --- agdk/agdktunnel/app/src/main/cpp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agdk/agdktunnel/app/src/main/cpp/CMakeLists.txt b/agdk/agdktunnel/app/src/main/cpp/CMakeLists.txt index 95f037ec..d2059fdb 100644 --- a/agdk/agdktunnel/app/src/main/cpp/CMakeLists.txt +++ b/agdk/agdktunnel/app/src/main/cpp/CMakeLists.txt @@ -152,7 +152,7 @@ target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE # add lib dependencies target_link_libraries(${CMAKE_PROJECT_NAME} - PUBLIC com.google.android.gms.gni.c::gni_shared + PUBLIC com.google.android.gms.gni.c::gni_static android atomic c++