hugomg
hugomg

Reputation: 69924

Is there a way to install my app through Android Studio without using the instant run feature?

For whatever reason, when I install my app through Android Studio with the "run app" button, the MY_PACKAGE_RECEIVED intent filter doesn't seem to get triggered. This causes my app to fail to properly register some AlarmManager alarms, which I usually only notice the next day, when said alarms fail to fire.

Is there a way to tell Android Studio to install my app without using the "instant run" feature? I still want to use instant run most of the time, but the last install I make each day needs to be a full proper install.

So far the only solution I found was to manually create the APK with Build -> Build APK(s) and then jump into a terminal to install it with adb install.

Upvotes: 0

Views: 56

Answers (0)

Related Questions