java.lang.Noclassdeffounderror: Failed Resolution of: Ljavax/xml/stream/Xmloutputfactory; Azure

Asked

Viewed 98 times

0

I’m taking a photo and then I want to send it to the Azure Storage however in the following line of code:

CloudStorageAccount account = CloudStorageAccount.parse(storageConnectionString);

I get the following error: java.lang.Noclassdeffounderror: Failed Resolution of: Ljavax/xml/stream/Xmloutputfactory;

Has anyone ever had this mistake or know how to fix it? I’m trying to do this on Android in Android Studio.

1 answer

0


I solved my problem put in Gradle

dependencies {
compile 'com.microsoft.azure.android:azure-storage-android:1.0.0@aar'
}
  • You can mark your answer as the ideal answer. :)

  • I can only do it tomorrow because apparently I don’t have enough score. But thanks, then I will

Browser other questions tagged

You are not signed in. Login or sign up in order to post.