GameSparks Question - Does GameSparks SDK currently support ARM64 when build app to Android?

0

Hi guys,

Currently I am having an issue after create a APK build on Unity. I have followed the instructions here: https://docs.aws.amazon.com/gamesparks/latest/dg/get-started_client-unity.html to include the library to be used in code. However after install and run the game APK on my Samsung phone (Android API ver 33), and use logcat to debug, it printed out like so:

2023/04/21 09:24:15.692 16843 17079 Error Unity DllNotFoundException: Unable to load DLL 'amazon-gamesparks-client-shared'. Tried the load the following dynamic libraries: Unable to load dynamic library 'amazon-gamesparks-client-shared' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = dlopen failed: library "amazon-gamesparks-client-shared" not found
2023/04/21 09:24:15.692 16843 17079 Error Unity   at Amazon.GameSparks.Unity.DotNet.NativeApiWrapper.amzn_gs_create_client (System.IntPtr clientConfiguration) [0x00000] in <00000000000000000000000000000000>:0 
2023/04/21 09:24:15.692 16843 17079 Error Unity   at Amazon.GameSparks.Unity.DotNet.NativeClientFactory.Create (System.Action`1[T] errorLogAction, System.Action`1[T] infoLogAction, System.Action`1[T] debugLogAction) [0x00000] in <00000000000000000000000000000000>:0 
2023/04/21 09:24:15.692 16843 17079 Error Unity   at Amazon.GameSparks.Unity.EngineIntegration.Client..ctor (Amazon.GameSparks.Unity.DotNet.INativeClientFactory nativeClientFactory, System.TimeSpan updateInterval, System.Action`1[T] errorLogAction, System.Action`1[T] infoLogAction, System.Action`1[T] debugLogAction) [0x00000] in <00000000000000000000

Using Dependencies Walker tool indicated that the output DLL does not contains the above amazon-gamesparks-client-shared. Also, when inspecting the APK file, amazon-gamesparks-client-shared does appear in the lib folder, but only under armv7, this make me deduce that probably the SDK does not support in ARM64 yet. Is there a workaround as I want to build and test in the ARM64 arch? Thanks in advance!

  • We are currently working on supporting android-arm64-v8a devices in GameSparks SDK, this should be released in the near future (no specific date yet). Will update you once we release the new version.

Niles
posta un anno fa98 visualizzazioni
Nessuna risposta

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande