How to assign Run button in Android Studio to Run

2019-08-26 08:50发布

问题:

I followed these steps to run signingReport in order to get the SHA1 fingerprint of my debug.keystore .

However, it's left me with the problem that whenever I click the green arrow Run button in Android Studio, it runs signingReport instead of installing and running the app on my device/emulator.

How can I make it so the green arrow Run button will install and run my app again like it used to?

回答1:

Solved it by clicking on Run > Run... > Edit Configurations... > expand Android App > select app > click the blue Run button.