I made a custom framework.jar for my device. This new framework include a new API which I\'d like to use in my apps. Unfortunately, besides I included my own framework.jar i
This is a good question! Your tip would be useful for Android Studio users as well, I guess.
Just FYI, for IntelliJ users, you can also do this:
By step 4, you can avoid making a huge .dex. (Your apk will not include the framework.jar.)