您的位置:首页 > 产品设计 > UI/UE

Android BuildConfig.Debug 在module一直为false解决方案

2016-10-31 15:23 621 查看
down
vote
With Android Studio 1.1 and having also the gradle version at 1.1 it is possible:

Library
android {
publishNonDefault true
}


App
dependencies {
releaseCompile project(path: ':library', configuration: 'release')
debugCompile project(path: ':library', configuration: 'debug')
}


原文地址:http://stackoverflow.com/questions/20176284/buildconfig-debug-always-false-when-building-library-projects-with-gradle
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息