Android Studio“运行"按钮不起作用 [英] Android Studio "run" button is not working

查看:119
本文介绍了Android Studio“运行"按钮不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Android Studio 3.0.1,直到昨天为止,它的运行状况都很好.今天,当我刚打开Android Studio时,我的运行"按钮没有运行应用程序.它是绿色的,这表示它没有被禁用,但是单击时仍然没有任何功能.为什么?

I have Android Studio 3.0.1 it was working fine until yesterday. Today when I just opened Android Studio, my "Run" button is not running application. It is green in color which means it is not disable, but still it is not doing any function on click. Why?

推荐答案

我发现了错误,从平台工具文件夹中删除了 adb.exe 文件,并出现了错误是

I found the error, somehow adb.exe file was deleted from platform-tools folder and error was

无法找到adb java.lang.IllegalArgumentException:无法找到亚行"

"Unable to locate adb java.lang.IllegalArgumentException: Unable to locate adb" .

只需将 adb.exe 文件粘贴到 platform-tools 文件夹中,然后即可使用.

Just copy paste adb.exe file into platform-tools folder, and working now.

这篇关于Android Studio“运行"按钮不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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