Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

你好 ,导入出现这种错误,怎么修改呢 #5

Closed
kirangao opened this issue May 11, 2017 · 4 comments
Closed

你好 ,导入出现这种错误,怎么修改呢 #5

kirangao opened this issue May 11, 2017 · 4 comments

Comments

@kirangao
Copy link

Error:(17, 0) Neither path nor baseDir may be null or empty string. path='null' basedir='C:\Users\Administrator\Desktop\123\KingTV-master\KingTV-master\app'
Open File

@zhouxin1233
Copy link

我也出现了这种错误

@zhouxin1233
Copy link

我也提交了这个问题 , 但没一会就被关了 ,唉

@CGL-A
Copy link

CGL-A commented May 11, 2017

local.properties 没有对应字段值

@jenly1314
Copy link
Owner

我打包签名用的,直接运行肯定没有的,请注释掉build.gradle内签名相关的配置。示例如下
// signingConfigs {
// config {
//
// //加载资源
// Properties properties = new Properties()
// InputStream inputStream = project.rootProject.file('local.properties').newDataInputStream() ;
// properties.load( inputStream )
//
// //读取文件
// def storeFileDir = properties.getProperty('storeFile.file')
// storeFile file( storeFileDir )
//
// //读取字段
// def key_keyAlias = properties.getProperty( 'keyAlias' )
// def key_keyPassword = properties.getProperty( 'keyPassword' ) ;
// def key_storePassword = properties.getProperty( 'storePassword' ) ;
//
// keyAlias key_keyAlias
// keyPassword key_keyPassword
// storePassword key_storePassword
// }
// }

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

// signingConfig signingConfigs.config
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants