Android studio make jar file with dependencies
问题 I want to use android studio to make a library project to a jar file which contains many jar files and library projects like this: dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile project(':app:libraries:MyLibrary:app') compile 'com.luckycatlabs:SunriseSunsetCalculator:1.2' compile project(':app:libraries:MyLibrary:app:libraries:MySubLibrary:app') } How can I make a jar file with all this dependencies and own class files? 回答1: Finally, I found the solution: android