You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
E/Trace: error opening trace file: Permission denied (13)
E/dalvikvm: Could not find class 'android.security.KeyPairGeneratorSpec$Builder', referenced from method com.microsoft.aad.adal.StorageHelper.getKeyPairGeneratorSpec
E/ACRA: ACRA caught a IllegalStateException for com.jetico.bestcrypt
java.lang.IllegalStateException: Secret key must be provided for API < 18. Use AuthenticationSettings.INSTANCE.setSecretKey()
at com.microsoft.aad.adal.StorageHelper.loadSecretKeyForAPI(StorageHelper.java:152)
at com.microsoft.aad.adal.DefaultTokenCacheStore.<init>(DefaultTokenCacheStore.java:103)
at com.microsoft.aad.adal.AuthenticationContext.<init>(AuthenticationContext.java:152)
at com.onedrive.sdk.authentication.ADALAuthenticator.init(ADALAuthenticator.java:206)
at com.onedrive.sdk.authentication.DisambiguationAuthenticator.init(DisambiguationAuthenticator.java:130)
at com.onedrive.sdk.extensions.OneDriveClient$Builder.loginAndBuildClient(OneDriveClient.java:163)
at com.onedrive.sdk.extensions.OneDriveClient$Builder.access$500(OneDriveClient.java:64)
at com.onedrive.sdk.extensions.OneDriveClient$Builder$1.run(OneDriveClient.java:147)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
What does it mean Use AuthenticationSettings.INSTANCE.setSecretKey() and how to avoid this error? Is it a contradiction with "Supported Android Versions 15" for this SDK?
The text was updated successfully, but these errors were encountered:
yup, I think I need to bump the minimum version to 18 as ADAL does not support lower version anymore. Will this impact your story hugely? I saw stat on Android website and it seems it would not be very harmful: https://developer.android.com/about/dashboards/index.html
If I do not use adalAuthenticator I do not get "Secret key must be provided for API < 18" message for API >= 14 and this API level is enough for my purposes.
isabsent
changed the title
Bug in the autentification for API < 18.
Bug in the authentication for API < 18.
Nov 28, 2016
I am trying to use OneDrive SDK with API 16 device by means of:
As a result I have
What does it mean Use AuthenticationSettings.INSTANCE.setSecretKey() and how to avoid this error? Is it a contradiction with "Supported Android Versions 15" for this SDK?
The text was updated successfully, but these errors were encountered: