To package all dependencies of my Library into .aar file, I have used 
https://github.com/kezong/fat-aar-android (version 1.3.6) and I am able to 
see all dependencies in libs folder of .aar file (checked by extracting 
it). But when I used resulting .aar file in sample project, I am getting 
below build error:
Execution failed for task ':app:checkDebugDuplicateClasses'. 

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. 
Failed to transform MyMobileSDK-debug-.aar (:MyMobileSDK-debug:) to match 
attributes {artifactType=enumerated-runtime-classes, 
org.gradle.status=integration, org.gradle.usage=java-runtime}. > Execution 
failed for AarToClassTransform: 
/home/abhishek.kumar/AndroidStudioProjects/sdk-api-android/app/libs/MyMobileSDK-debug.aar.
 
> duplicate entry: META-INF/versions/9/module-info.class

Any help or guidance will be well appreciated. Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/8f5409e7-f6c8-4c20-badc-5143450434afn%40googlegroups.com.

Reply via email to