Hi, I am currently using Cryptlex in a unity application. I added the libLexActivator.so into the project and added the GitHub - cryptlex/lexactivator-dotnet: LexActivator API wrapper for .NET (licensing library).
Getting following message:
11:40:38.493UTC: GameInitialization:LicenseManager - Exception: System.DllNotFoundException: LexActivator
at (wrapper managed-to-native) Cryptlex.LexActivatorNative.SetProductFile(string)
at Cryptlex.LexActivator.SetProductFile (System.String filePath) [0x0000b] in C:\Users\Admin\wkspaces\<a game>New\<a game>\Assets\Plugins\LexActivator\API\LexActivator.cs:37
at Cryptlex.CryptlexService.SetProductFile (System.String filePath) [0x00001] in C:\Users\Admin\wkspaces\<a game>New\<a game>\Assets\Scripts\Runtime\Tools\License Tool\Scripts\ICryptlexService.cs:544
at LicenseManager.SetProductFileAndVersionGUIDv3 (LicenseManager+CryptlexProduct cryptlexProduct) [0x00059] in C:\Users\Admin\wkspaces\<a game>New\<a game>\Assets\Scripts\Runtime\Tools\License Tool\Scripts\LicenseManager.cs:136
at LicenseManager.IsProductGenuineV3 (LicenseManager+CryptlexProduct cryptlexProduct) [0x00038] in C:\Users\Admin\wkspaces\<a game>New\<a game>\Assets\Scripts\Runtime\Tools\License Tool\Scripts\LicenseManager.cs:198
at LicenseManager.IsProductGenuine (LicenseManager+CryptlexProduct cryptlexProduct) [0x0001d] in C:\Users\Admin\wkspaces\<a game>New\<a game>\Assets\Scripts\Runtime\Tools\License Tool\Scripts\LicenseManager.cs:151
at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0002c] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at LicenseManager.CheckLicense () [0x00002] in C:\Users\Admin\wkspaces\<a game>New\<a game>\Assets\Scripts\Runtime\Tools\License Tool\Scripts\LicenseManager.cs:91
UnityEngine.Debug:LogError(Object)
Debug:LogError(Object, Object) (at Packages/<a game company>Utilities/Scripts/ExtendedDebug.cs:67)
Logger:LogError(String) (at Assets/Scripts/Runtime/Util/Logger.cs:26)
LicenseManager:CheckLicense() (at Assets/Scripts/Runtime/Tools/License Tool/Scripts/LicenseManager.cs:96)
LicenseManager:Start() (at Assets/Scripts/Runtime/Tools/License Tool/Scripts/LicenseManager.cs:77)
Libs are in
Assets/Plugins/Android/libs/arm64-v8a/libLexActivator.so
and
Assets/Plugins/Android/libs/armeabi-v7a/libLexActivator.so
Has anyone an idea?