How do I improve the speed of packaging APK?

Have you exhausted your other debugging options, like using the Companion?