Faisal Hussain Faisal Hussain - 4 months ago 16x
Android Question

Android Studio Run configuration error

I don't know if this is the right place to ask this question I have no one else to turn to for help ... My android studio was working fine a couple of days back and run configuration was also ok but now i am having issue with it ... I am getting a cross ( x ) sign over the android icon please have a look at the images below

A cross on the little android icon

enter image description here

Also when I try to edit the run configuration I see a error at the bottom please have a look at this image

Error visible in the edit run configuration dialogue

enter image description here


Change the build variant from the bottom left panel to debug and you should be able to run it fine from Android studio. It will use the default debug signing configuration in this case.

You cannot run a release build variant directly unless you specify the signing config explicitly under bulidTypes - > release