在AndroidStudio中有没有合适的方式来调试服务?还是AndroidStudio不能做到这一点?当我尝试调试时,它会断开套接字的连接。mainService = new Intent(this,MainPowerAndVolumeService.class);
android.os.Debug.waitForDebugger
我需要从在github上创建一个android项目。我尝试了VCS -> Checkout from Version Control in AndroidStudio,但是在repo中没有这个目录的url,所以我不确定是否只克隆这个子目录。我还尝试下载整个repo,在AndroidStudio中执行File -> New -> Import Project,并选择messaging子目录作为要导入的文件夹。