Update NDK, revert LTO, downgrade CMake

This commit is contained in:
chiteroman 2024-10-22 12:16:33 +02:00
parent 7ed05a41d7
commit affc86afc5

View File

@ -6,7 +6,7 @@ android {
namespace = "es.chiteroman.playintegrityfix" namespace = "es.chiteroman.playintegrityfix"
compileSdk = 35 compileSdk = 35
buildToolsVersion = "35.0.0" buildToolsVersion = "35.0.0"
ndkVersion = "27.1.12297006" ndkVersion = "27.2.12479018"
buildFeatures { buildFeatures {
prefab = true prefab = true
@ -35,7 +35,6 @@ android {
arguments( arguments(
"-DCMAKE_BUILD_TYPE=Release", "-DCMAKE_BUILD_TYPE=Release",
"-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON",
"-DANDROID_STL=none", "-DANDROID_STL=none",
"-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON" "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
) )
@ -76,7 +75,7 @@ android {
externalNativeBuild { externalNativeBuild {
cmake { cmake {
path = file("src/main/cpp/CMakeLists.txt") path = file("src/main/cpp/CMakeLists.txt")
version = "3.30.3" version = "3.22.1"
} }
} }
} }