Open AdarshanaBlr opened 6 years ago
Hi @AdarshanaBlr , what version of Android are you using? Can you verify that you have all necessary jars? http://www.findjar.com/index.x
Currently I'm using Android Studio 2.3.3. built June 6th 2017. JRE 1.8.0_112 android { compileSdkVersion 26 buildToolsVersion "25.0.3" ... } As you indicated, looks like the javax.xml.stream.* jar files don't exist. Thus the first call itself fails. CloudStorageAccount storageAccount = CloudStorageAccount.parse(connectionString);
Runtime error....
java.lang.NoClassDefFoundError: Failed resolution of: Ljavax/xml/stream/XMLOutputFactory;
at com.microsoft.azure.storage.core.Utility.
try importing this:
https://mvnrepository.com/artifact/javax.xml.stream/stax-api/1.0-2
Really surprised on how tricky this problem is. Unable to proceed further. I really don't know how to fix this. Tried all combinations. So basically com.microsoft.azure.storage seems like pure Java library. javax.xml.stream is missing.
Please help me here.
I'm building everything in Android Studio. So basically my Andorid App has to work. It is struggling to find the javax.xml.stream.* packages.