duzzell 0 Posted yesterday at 10:04 AM Hello I'm using Delphi 12.0 to build an Android app. I'd like to use a component that requires Android SDK 33/34. The component runs as expected on Android-64. But on Android-32 I get the following error when loading the component: OnSignInException exception: getCredentialAsync no provider dependencies found - please ensure the desired provider dependencies are added I've added the dependencies (.jar files) to both the 32-bit and 64-bit Android configurations in Delphi. There's an issue in Delphi where it seems identical libraries added to both Android configurations are disaplyed in only one. So I've removed the .jar files from both configs and added them back to just the 32-bit config. The component still generates the error on Android-32. Is this an SDK version issue? Below is screenshot of my SDK manager. It looks to me like I'm running Android 35 for 64-bit but Android 25 for 32-bit. Am I interpreting this correctly (the version displayed in my SDK\platforms folder is android-34)? Is there an Android SDK 34 or higher for Android-32? I've exported and compared my Android-32 and Android-64 cofigs. They are very similar and contain nothing that would suggest to me they result in different SDK versions for the two platforms. The posts I find online refer to Android SDK versions without distinguising between Android-32 and Android-64, as if they're always the same. So I'm kind of surprised and confused that I have this situation in the first place. If there is an Android SDK 33 or higher for Android-32, and it can be successfully intalled in Delphi, can someone point me to instructions for doing this? Thanks Share this post Link to post
Dave Nottage 576 Posted yesterday at 10:16 AM 7 minutes ago, duzzell said: I've added the dependencies (.jar files) to both the 32-bit and 64-bit Android configurations in Delphi. There's an issue in Delphi where it seems identical libraries added to both Android configurations are disaplyed in only one. So I've removed the .jar files from both configs and added them back to just the 32-bit config. The component still generates the error on Android-32. I'm curious as to why you have not mentioned what .jar files you are adding? Share this post Link to post
duzzell 0 Posted yesterday at 10:24 AM credentials-1.2.2.jar credentials-play-services-auth-1.2.2.jar googleid-1.1.0.jar kotlinx-coroutines-core-1.7.1.jar play-services-auth-20.7.0.jar play-services-fido-20.1.0.jar signin-with-google-1.0.jar Thanks Share this post Link to post
duzzell 0 Posted yesterday at 02:11 PM 32-bit and 64-bit versions of my app run on a Pixel, but neither version runs on the Samsung I was using for 32-bit testing. Share this post Link to post
Dave Nottage 576 Posted yesterday at 06:44 PM 4 hours ago, duzzell said: 32-bit and 64-bit versions of my app run on a Pixel, but neither version runs on the Samsung I was using for 32-bit testing. It may be due to the version of Android on it, rather than the model. Having said that: where does signin-with-google-1.0.jar come from? Share this post Link to post
Build3999 7 Posted 19 hours ago (edited) 16 hours ago, duzzell said: Hello I'm using Delphi 12.0 to build an Android app. I'd like to use a component that requires Android SDK 33/34. The component runs as expected on Android-64. But on Android-32 I get the following error when loading the component: OnSignInException exception: getCredentialAsync no provider dependencies found - please ensure the desired provider dependencies are added @duzzell getCredentialAsync is part of Android Credential API, which is used to retrieve the user's available credentials and this error occurs if: There are missing *.jar/class component dependencies. Google Play Services are not present on the target device or are too old. The CredentialProvider or com.google.android.gms.version configuration is missing from the AndroidManifest.xml It is recommended to compile with API SDK >= 33, although it is compatible with previous targets. Regarding the SDK: By default, all paths in SDK Manager are the same for both Android 32-bit and Android 64-bit configurations. In the "API SDK Location" field, you will find the path to the Android API SDK (Android-32, Android-33, Android-34, etc.). Edited 19 hours ago by Build3999 Share this post Link to post
duzzell 0 Posted 13 hours ago It came with the component. https://github.com/MEStackCodes/SignInWithGoogleDelphi Share this post Link to post
duzzell 0 Posted 13 hours ago @Build3999Thanks. I'm sending the same builds to the Pixel and the Samsung. So I don't think there's anything missing in the builds. I think the difference must be in the device. Share this post Link to post