为什么我还有一个;“没有可调试的应用程序”;在我的Android Studio项目中?

为什么我还有一个;“没有可调试的应用程序”;在我的Android Studio项目中?,android,android-studio,Android,Android Studio,我将android:debuggable=“true”放在AndroidManifest.xml中: <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:debuggable="true" android:the

我将android:debuggable=“true”放在AndroidManifest.xml中:

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:supportsRtl="true"
    android:debuggable="true"
    android:theme="@style/AppTheme">
    <activity android:name=".MainActivity">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

以前调试应用程序时,您没有正确停止应用程序。因此,重新启动avd或手机,以及Android studio。再试一次。它会起作用的。我通过文件->无效缓存/重新启动->重新启动Android Studio,我也重新启动了我的手机(Galaxy S6),但我仍然“没有可调试的应用程序”。这在以前的项目中没有发生。如果有关系的话,我正在通过蓝牙使用ADB。@HourGlass我解决了调试问题,但是应用程序在旁边说[DEAD]。这是什么意思?
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
    debug{
        debuggable true;
    }
}