Reputation: 43
When I press 'run' in Android Studio, my app builds successfully. The debug APK is generated in build/outputs/apk but the APK is not pushed to my phone. It's rather annoying because I now have to actually email the APK to myself and install it from email on my phone in order to test my app. Has anyone had a similar problem, or does anybody know how I could possibly fix this? I googled my hat off but I didn't find anything that could help.
Notes:
I'm using the latest Android Studio on the latest OSX. I also have the latest build tools and the latest Gradle version.
Upvotes: 2
Views: 1507
Reputation: 11696
When I upgraded from Android Studio 1.5 to 2.1 this started happening a lot.
If you already have your build config set correctly, just restart Android Studio.
The more complex Android Studio gets, the buggier it becomes. I have to restart it at least twice a day for various reasons, and here is yet another. Sigh.
Upvotes: 1
Reputation: 1103
open your build config
and make sure you select "deploy default APK"
Upvotes: 0