无法在Android Studio中使用断点

时间:2016-01-23 14:29:07

标签: android debugging android-studio breakpoints

我刚刚安装了最新版本的Android Studio,我的电脑操作系统是Windows 10 x64。

问题在于,由于某些原因,Android Studio不会遇到断点..无论我是否使用我的nexus 10启用USB调试,或者我使用VM ..但是..应用程序被“发布”到选定的设备并启动。

这是我的build.gradle:

 apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.2"

    defaultConfig {
        applicationId "com.xxxx.xxxx"
        minSdkVersion 21
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        debug {
            minifyEnabled false
            debuggable true
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.1.1'
}

有什么想法吗?

我在同一台机器上安装了Unity3D,但目前没有与Unity3D相关联的进程运行..而且adb设备会列出连接的设备..

我还尝试过运行adb kill-server和adb start-server ..但是也没有这样做..

BR, INX

0 个答案:

没有答案
相关问题