1. add remote debug configuration
2. copy jvm options : (-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005), and paste it to gradle.properties file.
3. then click debug button to attach localhost:5005, expand the gradle task list and click to run assmble project to start up build process.
标签:5005,gradle,debug,处理器,Debug,Android,click From: https://www.cnblogs.com/jeashun/p/17305559.html