Ibraheem Ismail
Ibraheem Ismail

Reputation: 57

Android studio "No debuggable applications" on android monitor connected to my android device

enter image description here

I've tried disabling & enabling the ADB integration, Debuging the project, Cleaning the project, & Rebuilding it.

It all didn't work !

Note that only this project has this problem, other projects clicking on the debug icon solved it, anything have to do with the configuration of the project?

enter image description here

Build Variant

enter image description here

defaultConfig {

    applicationId "co.keymakers.detalassistant"

    minSdkVersion 14

    targetSdkVersion 24

    versionCode 1

    versionName "1.0"

}

buildTypes {

    release {

        minifyEnabled false

        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

    }
}

Upvotes: 2

Views: 2568

Answers (4)

user6594036
user6594036

Reputation:

install this driver to connect your phone to android studio

http://adbdriver.com/upload/adbdriver.zip

Upvotes: 0

SATHISH RA
SATHISH RA

Reputation: 131

reset your adb it solve the problem tools->android->android device monitor->show view-> select device in the down arrow select Reset adb

Upvotes: 0

Ben
Ben

Reputation: 1295

On the left hand side of the screen is a view called Build Variants. Opening that will show you're default build variant. Make sure a debug build is set as the default. The default is what will be built when doing a run in Android Studio.

If there are no debug options you have an issue in your build.gradle file.

Upvotes: 0

dipdipdip
dipdipdip

Reputation: 2556

I guess debugging is disabled for your App.

Either in your build.gradle within the default config or a build type:

android:debuggable="false"

Or in your AndroidManfest.xml:

debuggable false

Search for these lines and remove them (at least for your debug builds). Also make sure you run your debug build type.

Upvotes: 2

Related Questions