we are working on an android project and want to develop two binaries that work together: a UI App, and an AAR library back end. The idea is that the AAR may be used in the
You can add both parts to one project as modules. Then you add a direct dependency in your UI module to the second module. Now you can debug both at the same time.
This is the best solution if you also want to be able to make changes in both parts.
If you want to debug any library in combination with your code, Android Studio also supports breakpoints in decompiled files (or in the attached source if there is one).