-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure blob storage - Android support #27742
Comments
@amishra-dev could you please follow up? /cc @anuchandy |
@devzeze I am also facing this issue. @joshfree @anuchandy @amishra-dev Can you please give update on this as soon as possible? |
Hello, |
Hi @joshfree , @amishra-dev any news regarding this topic? |
Hi @anuchandy, any news regarding this topic? |
@jaschrep-msft is the right owner to follow up with on Storage /cc @vcolin7 @anuchandy |
The library found at https://github.com/Azure/azure-storage-android is relegated to community support and has been for many years at this point. The library found at https://github.com/Azure/azure-storage-java has been deprecated in favor of the storage libraries found in this Azure SDK for Java repository. Storage libraries found here do not officially support Android. While there exists an Azure SDK for Android repository, it supports very few services, not including Storage. There is currently no timeline on including Storage support for Android. |
@jaschrep-msft is correct, there are currently no officially supported Storage libraries for Android. You can technically use the Storage libraries for Java on certain Android API levels at your own risk as they were not designed to run on Android; also due to the fact that Reactor (one of our core dependencies) can only run on Android API level 26+ out of the box and 21+ with desugaring enabled. |
I spent a bit more time testing out whether it was possible to use the Java Storage library on Android. It turns out you can, but only in API levels 26 and 27, mainly because before level 26 you need to use desugaring for some Java APIs used by Reactor and our libraries and
I must note I ran these tests the same Storage's version as you ( I will be closing this issue for the time being as it is not really a bug, but feel free to open a feature request on the Android repository for supporting the Storage service, maybe with enough demand support can be added at some point in the future |
Feature request created on Android repository. Azure/azure-sdk-for-android#1272 If others also need the feature please go there and upvote. |
What SDK to use on Android?
I noticed the Android SDK is still referenced in the documentation https://github.com/Azure/azure-storage-java
But the last release was some years ago and it looks like SDK is not maintained anymore.
Are you supporting azure-storage for Android? And if yes what SDK should we use?
The Android SDK still works (implementation 'com.microsoft.azure.android:azure-storage-android:2.0.0@aar') but I am concerned about the future of this SDK and looks like is becoming a risk to rely on that.
I tried to use implementation 'com.azure:azure-storage-blob:12.14.4' and I got an exception:
java.lang.LinkageError: Package versions: jackson-annotations=0.0, jackson-core=0.0, jackson-databind=0.0, jackson-dataformat-xml=0.0, jackson-datatype-jsr310=0.0, azure-core=1.25.0, Troubleshooting version conflicts: https://aka.ms/azsdk/java/dependency/troubleshoot
However when I look at dependency tree the dependencies are there.
Thank you
Jose
The text was updated successfully, but these errors were encountered: