Android Studio: Run Button Not Working

Android Studio: Run Button Not Working

When I try to run my app (my first test) for the first time, the green button shows up but the emulator does not run my app, it only works (the emulator) , and when I try again the green button( RUN) does not work. Anyone can help ?

1

4 Answers

Click Run on the menu and then Edit Configurations... then click on Android Application on the left and click the + button. Choose Android Application from the pop-up menu. Then pick the module (its normally app or something like that). Then click apply and ok.

If you have more errors after that, try to re-import the project in Android Studio.

In my case I tapped on the "Make Project" button (the hammer icon) and then the run button worked

I know this is an old question but some other people can still have the same issue.

I was getting the same error, and a log message somewhere said me adb wasn't found. After reinstalling platform-tools it got solved.

So try opening SDK Manager from Tools -> SDK Manager, go to SDK Tools tab and uncheck Android SDK Platform-Tools. After applying changes install it again.

Have you made sure you unlocked the emulator? By unlock I mean like how a phone screen is locked, the emulator does the same thing.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.