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
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
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.
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.