Joshua Fox
Joshua Fox

Reputation: 19655

Why doesn't Android Studio let me select a device and run an app?

With the firebase-android-client demo app, the device selector in Android Studio says "Not applicable for firebase-android-project configuration".

However, if I create a new project from the "Basic" project wizard, I can successfully launch the app.

I installed several (virtual) devices, including one for Android 6.0.

My app does not run with this disabled device, nor do I have the choice to select another device.

Below are screenshots of the project where it works and the one where it doesn't.

What needs to be fixed? How do I launch this simple demo project?

Working

Upvotes: 3

Views: 1337

Answers (2)

Brugui
Brugui

Reputation: 574

The problem here is that you have selected a Graddle configuration to run (firebase-android-client), not an app one.

If you select the app in the Select Run/Debug Configuration dropdown it will work fine.

enter image description here

Upvotes: 3

Eyosiyas
Eyosiyas

Reputation: 1497

In order to tackle the situation you need to check the Run/Debug Configuration and apply appropriate configurations there.

Upvotes: 2

Related Questions