简体   繁体   中英

Enable instant run shortcut for build flavor

I have a specific build flavor that works with 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,

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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