Android studio 修复设备驱动程序API匹配-设备驱动程序API版本:23

Android studio 修复设备驱动程序API匹配-设备驱动程序API版本:23,android-studio,widget,android-5.0-lollipop,Android Studio,Widget,Android 5.0 Lollipop,错误: 4761-4779/com.android.widgets E/﹕ Device driver API match Device driver API version: 23 User space API version: 23 4761-4779/com.android.widgets E/﹕ mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Wed Oct 9 21:05:57 KST 2013 Samsung Galaxy

错误:

4761-4779/com.android.widgets E/﹕ Device driver API match
    Device driver API version: 23
    User space API version: 23
4761-4779/com.android.widgets E/﹕ mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Wed Oct  9 21:05:57 KST 2013
Samsung Galaxy N7000 XXLT9
Recovery: Rooted, PhilZ-cwm6-XXLT9-ORA-5.08.5
Rom: Nightowl-cm12.1-Beta4-n7000
Android: Lollipop 5.1.1
Kernel (Not touched): 3.0.64-Bauner-g8d135b8-dirty bauner@pc #1

Microsoft Surface Pro
Windows 8.1
apply plugin: 'com.android.application'

android {
    compileSdkVersion 12
    buildToolsVersion "22.0.1"

    defaultConfig {
        applicationId "com.commonsware.android.appwidget.lorem"
        minSdkVersion 11
        targetSdkVersion 11
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }
}
设备:

4761-4779/com.android.widgets E/﹕ Device driver API match
    Device driver API version: 23
    User space API version: 23
4761-4779/com.android.widgets E/﹕ mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Wed Oct  9 21:05:57 KST 2013
Samsung Galaxy N7000 XXLT9
Recovery: Rooted, PhilZ-cwm6-XXLT9-ORA-5.08.5
Rom: Nightowl-cm12.1-Beta4-n7000
Android: Lollipop 5.1.1
Kernel (Not touched): 3.0.64-Bauner-g8d135b8-dirty bauner@pc #1

Microsoft Surface Pro
Windows 8.1
apply plugin: 'com.android.application'

android {
    compileSdkVersion 12
    buildToolsVersion "22.0.1"

    defaultConfig {
        applicationId "com.commonsware.android.appwidget.lorem"
        minSdkVersion 11
        targetSdkVersion 11
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }
}
工具:

Android Studio 1.1.0
build.gradle:

4761-4779/com.android.widgets E/﹕ Device driver API match
    Device driver API version: 23
    User space API version: 23
4761-4779/com.android.widgets E/﹕ mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Wed Oct  9 21:05:57 KST 2013
Samsung Galaxy N7000 XXLT9
Recovery: Rooted, PhilZ-cwm6-XXLT9-ORA-5.08.5
Rom: Nightowl-cm12.1-Beta4-n7000
Android: Lollipop 5.1.1
Kernel (Not touched): 3.0.64-Bauner-g8d135b8-dirty bauner@pc #1

Microsoft Surface Pro
Windows 8.1
apply plugin: 'com.android.application'

android {
    compileSdkVersion 12
    buildToolsVersion "22.0.1"

    defaultConfig {
        applicationId "com.commonsware.android.appwidget.lorem"
        minSdkVersion 11
        targetSdkVersion 11
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }
}
屏幕截图:

4761-4779/com.android.widgets E/﹕ Device driver API match
    Device driver API version: 23
    User space API version: 23
4761-4779/com.android.widgets E/﹕ mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Wed Oct  9 21:05:57 KST 2013
Samsung Galaxy N7000 XXLT9
Recovery: Rooted, PhilZ-cwm6-XXLT9-ORA-5.08.5
Rom: Nightowl-cm12.1-Beta4-n7000
Android: Lollipop 5.1.1
Kernel (Not touched): 3.0.64-Bauner-g8d135b8-dirty bauner@pc #1

Microsoft Surface Pro
Windows 8.1
apply plugin: 'com.android.application'

android {
    compileSdkVersion 12
    buildToolsVersion "22.0.1"

    defaultConfig {
        applicationId "com.commonsware.android.appwidget.lorem"
        minSdkVersion 11
        targetSdkVersion 11
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }
}

问题:
我无法使用该设备进行开发。我不知道为什么。其他应用程序(如)在该设备上运行良好。我的Oppo N1上的应用程序也工作得很好!如何修复以及导致此错误的原因是什么?

好的,我并不是真的为自己修复了它,但这只会在您使用基于cyanogenmod的定制rom的三星设备时出现

只有当get
设备驱动程序API不匹配时才会出错。尝试忽略它或使用其他设备。它不会影响你的应用程序

这就是我处理这个错误的方式:)希望它有帮助