简体   繁体   English

启用即时运行快捷方式以构建风味

[英]Enable instant run shortcut for build flavor

I have a specific build flavor that works with Instant Run. 我具有与Instant Run配合使用的特定构建风格。 I want to be able to toggle Instant Run with a shortcut. 我希望能够使用快捷方式切换“即时运行”。 Is this possible? 这可能吗?

Enable instant run shortcut for build flavor

Short answer NO you can't do that 简短的回答不,你不能那样做

Instant run is an android studio feature and it cannot be driven from the app/build flavors of an app, you can enable it in your system and there is no way to trigger it in other person's system from the app, 即时运行是android studio的一项功能,无法从应用的app / build风格驱动,您可以在系统中启用它,而无法从该应用在其他人的系统中触发它,

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM