0

There is very weird issue... One time I opened my project and noticed that I don't have opportunity to launch app from studio... Triangle sing cover with black color like it disable

enter image description here

But if I build the apk file and install it with adb command adb install -r path_to_apk it does work.

I have already tried to delete and download new android studio, but nothing changed...

And one more, if I am connecting my device and trying to attach debugger to android process so, android studio doesn't see my device as well as virtual device...

What I need to check? It look like some studio configuration broke or I don't know

Fell free to ask

My plugins

enter image description here

My configuration

enter image description here

Sirop4ik
  • 4,543
  • 2
  • 54
  • 121
  • 1
    click the dropdown (left side of the run button) and select `app` module from the list. – Maddy Dec 05 '17 at 10:53
  • @Maddy Sorry I forgot about it... I switched to app and for now triangle enable , but I have another issue `Please select android SDK` . Added image to the question – Sirop4ik Dec 05 '17 at 10:59
  • Check your logcat there will be option to setup sdk – Maddy Dec 05 '17 at 11:02

4 Answers4

1

Go to settings from file option available in android studio and check for necessary plugins that are required and after that make sure you installed plugins and then check your project.

Shivam Oberoi
  • 1,447
  • 1
  • 9
  • 18
0

Actually I forgot to switch build module to the app (next to launch triangle you have some options, so you need to choose app)

And then I got sdk location issue

I fixed it with help of this answer

intelliJ IDEA 13 error: please select Android SDK

My Problem: "please select Android SDK", But everything is okey :( -> I think one of IntelliJ file was crashed (after blue screen of death)

My resolution:

File -> Settings -> Android SDK -> Android SDK Location Edit -> Next, Next (Android SDK is up to date.), Finished

... and crashed file was repaired!

I hope this will help!

Sirop4ik
  • 4,543
  • 2
  • 54
  • 121
0

The problem "Error: Please select Android SDK" can sometimes happen with Android Studio 3.0, when downloading new build tools.

A temporary workaround is to change the versionCode or versionName in the app/build.gradle, then do a gradle sync, then change it back and gradle sync. See: Error: Please select Android SDK in Android Studio 2.0

Mr-IDE
  • 7,051
  • 1
  • 53
  • 59
0

A possible issue is that build.gradle could have the wrong platform version for targetSdkVersion. It might not be picking up the latest Manifest file.

Please select Android SDK

Is not being reported because it cannot find the SDK, but rather because it cannot find the platform version it needs from build.gradle.

Ironcache
  • 1,719
  • 21
  • 33