In Android Studio how to create jar Including other jar libraries <p>In android studio, i'm trying to create .jar file of my library and it contains another .jar dependancies. After adding created .jar file to another project and run it gives me </p> <pre><code>java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{in.co.xyz.MyLibrary/in.co.xyz.MyLibrary.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "in.co.xyz.MyLibrary.MainActivity" on path: DexPathList[[zip file "/data/app/in.co.xyz.MyLibrary-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] </code></pre> <p>how to fix this issue, please help me</p>