File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def playcoreDir = file('libs/play-core-native-sdk')
2727
2828android {
2929 compileSdkVersion 36
30- ndkVersion ' 27.2.12479018 '
30+ ndkVersion " 28.0.12674087 "
3131
3232 defaultConfig {
3333 applicationId ' com.google.sample.agdktunnel'
@@ -112,13 +112,12 @@ dependencies {
112112 implementation " androidx.core:core:1.5.0"
113113 implementation " androidx.constraintlayout:constraintlayout:2.0.4"
114114 implementation ' androidx.fragment:fragment:1.2.5'
115- implementation ' com.google.oboe:oboe:1.5 .0'
116- implementation " androidx.games:games-frame-pacing:2.1.2 "
115+ implementation ' com.google.oboe:oboe:1.10 .0'
116+ implementation " androidx.games:games-frame-pacing:2.1.3 "
117117 implementation " androidx.games:games-activity:3.0.5"
118118 implementation " androidx.games:games-controller:2.0.2"
119119
120- // Dependency for using APIs wrapped using library wrapper
121- implementation ' com.google.android.gms:play-services-gni-native-c:1.0.0-beta2'
120+ implementation " com.google.android.gms:play-services-games-v2-native-c:21.0.0-beta1"
122121
123122 // Google Play Games dependencies
124123 implementation " com.google.android.gms:play-services-games-v2:17.0.0"
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ find_package(oboe REQUIRED CONFIG)
2222find_package (game-activity REQUIRED CONFIG )
2323find_package (games-controller REQUIRED CONFIG )
2424find_package (games-frame-pacing REQUIRED CONFIG )
25- find_package (com.google.android.gms.gni .c REQUIRED CONFIG )
25+ find_package (com.google.android.gms.games.v2 .c REQUIRED CONFIG )
2626
2727# Set the base dir
2828set (GAMESDK_BASE_DIR "../../../../.." )
@@ -152,7 +152,7 @@ target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE
152152
153153# add lib dependencies
154154target_link_libraries (${CMAKE_PROJECT_NAME}
155- PUBLIC com.google.android.gms.gni. c::gni_shared
155+ PUBLIC com.google.android.gms.games.v2. c::games_static
156156 android
157157 atomic
158158 c++
@@ -178,3 +178,5 @@ else()
178178
179179 target_link_libraries (${CMAKE_PROJECT_NAME} playcore )
180180endif ()
181+
182+ target_link_options (${CMAKE_PROJECT_NAME} PRIVATE "-Wl,-z,max-page-size=16384" )
You can’t perform that action at this time.
0 commit comments