Native Debug Android Studio,Attention! No symbol directories found - please check your native debug

修改配置文件

1.in app/build.gradle:

dependencies{}标签内添加:

releaseCompile project(path: ':youModuleName', configuration: 'release')
debugCompile project(path: ':youModuleName', configuration: 'debug')

2. yourModule/build.gradle:

android{} 标签内:

buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
    debug {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}
publishNonDefault true
posted @ 2018-07-11 15:51  清澈见底  阅读(1301)  评论(0编辑  收藏  举报