Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Run button does nothing

Tags:

Upon creating a brand new android app; I click the run button, and it sits there and does absolutely nothing. I'm assuming an issue with Gradle possibly as the only thing remotely close to an error is the "Gradle Sync" warning me:

Warning:The project encoding (windows-1252) does not match the encoding specified in the Gradle build files (UTF-8). This can lead to serious bugs.

Would this preclude me from being able to do anything? I've had an android app running on here before a few months ago with no issues like this, so I'm not even sure what to check.

like image 846
nuebKitsune Avatar asked Jun 19 '15 17:06

nuebKitsune


2 Answers

Possible Soluions:

  1. In AndroidStudio goto files->InvalidateCachesAndRestart

  2. Try sync product with Gradle.

  3. Once the Run button is green with App selected. Then give Run

To check if some background process is running on pressing the Run button, click on the GradleConsole on the bottom right corner of your Android Studio.

like image 67
Prabhuraj Avatar answered Sep 19 '22 14:09

Prabhuraj


I was facing the same issue (Click the run button and nothing happens). After digging into AndroidStuido I tried going to SDK Manager and installed the suggested install packages (shows in install button with 'Install (1) Package') .after installing that now I am able to run my app...

I think some SDK was not up to date or might not installed properly.

like image 21
user5071155 Avatar answered Sep 16 '22 14:09

user5071155