Apply Changes Button Grayed out: Android Studio

…衆ロ難τιáo~ 提交于 2019-12-10 17:09:22

问题


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 .


回答1:


According to the guide, you also need to choose the debug build variant.

To start using Instant Run, you also need to change the build variant to a debug version of your app and deploy it to a target device running Android 5.0 (API level 21) or higher.




回答2:


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.




回答3:


click Run icon to run your project ,android the icon will be highlight.



来源:https://stackoverflow.com/questions/43976751/apply-changes-button-grayed-out-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!