When I run this Demo, I can not attach debugger.
Developer Environment: Android Studio3.0.1 NDK r15c Android Device: Nexus 6P with Android O(8.1)
When I kill the demo process, debugger works as well.
What happens when you try to attach the debugger? Also what do you mean by kill the demo process debugger works as well? Sorry not sure what you're describing here.
@gpx1000 When I try to attach to the debugger, AS show me an error and tell me to close other adb, then the choose process dialog dismisses. After I kill the demo process, the AS debugger works and the choose process dialog doesn't dismiss as well.
Hmm... I'm not seeing this problem, and am not certain I understand what's happening. Can you please provide some logs? Perhaps that will point me in the direction to help diagnose what's happening here.