您是否要终止进程"app"-Android Studio [英] Do you want to terminate the process 'app' - Android Studio

查看:1312
本文介绍了您是否要终止进程"app"-Android Studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天,我更新了Android Studio(4.1.1)

Today, I update my Android Studio(4.1.1)

更改代码后,点击"运行应用",然后对话框显示您是否要终止进程"app" ,并且有3个选项 Terminate Disconnect Cancel .您能告诉我这些有什么区别吗,因为如果单击任何人,应用程序都会重新启动.

When I changes in my code and click on "Run App" then dialog shows Do you want to terminate the process 'app' and there are 3 options Terminate, Disconnect, Cancel. Can you tell me what are difference in these because if click anyone then app restart.

哪个选项最好?

推荐答案

best 选项.您必须选择什么取决于您要实现的目标.

There is best option. What you have to select depends on what you want to achieve.

仅当您之前已启动应用程序时,此对话框才有意义.如果您现在再次运行该应用,则Android Studio希望知道如何处理现有的正在运行的应用,因为一次只能有一个正在运行的应用实例.

This dialog only makes sense if you have already started the app before. If you now run again the app Android Studio want's to know what to do with the existing running app as an there can be only one running instance of an app at a time.

这将直接退出应用程序,而不进行保存和数据或其他任何操作.应用程序进程将终止.

This will directly exit the app without saving and data or anything else. The app process will just be terminated.

关闭Android Studio中的调试器和作为调试对象的应用之间的连接.之后,该应用程序将继续运行,而无需附加调试器.

Close the connection between the debugger in Android Studio and the app as the debuggee. Afterwards the app will continue to run just without attached debugger.

不执行任何操作,仅关闭对话框

Do nothing and just close the dialog

这篇关于您是否要终止进程"app"-Android Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆