应用更改按钮变灰:Android Studio [英] Apply Changes Button Grayed out: Android Studio
问题描述
我已将项目的minSdkVersion
设置为15并启用了Instant Run
.
我已在运行于API 21的设备中部署了该应用程序
但是应用更改"按钮显示为灰色.当我将鼠标悬停在该按钮上时,它显示没有活动的'应用'启动",尽管当时我正在设备中运行该应用.
I have set up my project's minSdkVersion
as 15 and enabled Instant Run
.
I have deployed the app in my device running on API 21
But the "Apply Changes" button is grayed out.When I hover over the button it says "No Active 'App' launch" although I am running the app in my device at that time .
推荐答案
默认情况下,首次安装Android Studio时,即时运行"处于禁用状态.因此,您需要通过以下路径启用它:-文件/设置/构建,执行,部署/InstantRun ,并选中启用InstantRun 复选框.
By default, Instant Run is disable when you first install Android Studio. So you need to enable it by following this path :- File/Settings/Build, Execution, Deployment/InstantRun and checked the Enable InstantRun check box.
这篇关于应用更改按钮变灰:Android Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!