Azure / azure-storage-java

Microsoft Azure Storage Library for Java
https://docs.microsoft.com/en-us/java/api/overview/azure/storage
MIT License
189 stars 165 forks source link

Android Support - V12 SDK #571

Open nishanthvasu opened 2 years ago

nishanthvasu commented 2 years ago

Azure Blob Storage V12 SDK

Min SDK Version : 23 Target SDK Version : 30

jetified-azure-core-1.26.0.jar com.android.tools.r8.a: MethodHandle.invoke and MethodHandle.invokeExact are only supported starting with Android O (--min-api 26)

Execution failed for task ':app:mergeExtDexDebug'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Failed to transform azure-core-1.26.0.jar (com.azure:azure-core:1.26.0) to match attributes {artifactType=android-dex, dexing-enable-desugaring=true, dexing-incremental-transform=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}. Execution failed for DexingWithClasspathTransform: C:\Users\40011606.gradle\caches\transforms-2\files-2.1\c0bfe07c9a38f8dec9c6592f37f678c9\jetified-azure-core-1.26.0.jar. Error while dexing.

The above error throws while building apk. I tried deleting caches folder but still the issue persists.

nishanthvasu commented 2 years ago

Hi Team,

Any updates on this? @rickle-msft @emgerner-msft @mirobers @esummers-msft @rbalamohan @asorrin-msft @seanmcc-msft

Tagging for better reach. Since our application is already using azure storage. We are trying to upgrade from

implementation ('com.microsoft.azure.android:azure-storage-android:2.0.0@aar') to V12 sdk