I tried to debug a release version of my Android application but Android Studio failed to attach a debugger. (It could not find Android procces of my running application).>
This is the problem I encountered.The AAR file you import may change the attribute of debuggable, So just remove the debuggable attribute in your Main App Manifest file.
See the picture: