androidandroid-studiolibrary-project

How to include external jar in library project output classes.jar


I am creating a library project and including a jar in this library project. Android Studio compiles it and create an AAR file. This AAR file includes libs folder having that external jar and classes.jar of project. But I want a single classes.jar having that external jar inside it. Please suggest


Solution

  • I used proguard and proguard merged the libs/jars in classes.jar