0

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

Dhaval Parmar
  • 18,812
  • 8
  • 82
  • 177

2 Answers2

1

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

Viral Patel
  • 32,418
  • 18
  • 82
  • 110
0

It looks like you are trying to build a release apk. If you do this you need to sign it. If that's the case check out this:

https://developer.android.com/studio/publish/app-signing.html

If not you need to switch your configuration to debug.

hopeman
  • 2,778
  • 3
  • 18
  • 33