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
gefragt vor einem Jahr98 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen