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

项目导入时 报 Could not get unknown property'GITHUB_CLIENT_ID' #7

Open
skl351 opened this issue Mar 9, 2017 · 3 comments
Open

Comments

@skl351
Copy link

skl351 commented Mar 9, 2017

您好,您的项目非常棒,我直接用apk安装,可以运行,但是不知道怎么回事在android studio上导入提示Error:(16, 0) Could not get unknown property 'Github_CLIENT_ID' for BuildType_Decorated{name=release, debuggable=false, testCoverageEnabled=false, jniDebuggable=false, pseudoLocalesEnabled=false, renderscriptDebuggable=false, renderscriptOptimLevel=3, minifyEnabled=false, zipAlignEnabled=true, signingConfig=null, embedMicroApp=true, mBuildConfigFields={}, mResValues={}, mProguardFiles=[], mConsumerProguardFiles=[], mManifestPlaceholders={}} of type com.android.build.gradle.internal.dsl.BuildType.
之后就安装不上了,不知道是什么原因

@TellH
Copy link
Owner

TellH commented Mar 9, 2017

qq 20170309165741
我没有上传gradle.properties文件,所以你编译的时候会出错。你按图片上的项目根目录里新建文件gradle.properties,在文件中添加相应的参数再build一下就可以解决这个异常。

android.enableBuildCache=true
Github_CLIENT_ID=82248be95d9d71c099b5
Github_CLIENT_SECRET=dd5afb626caf53f932a6b432c625c27b4214065e
URL_GITHUB=https://api.github.com/
URL_EXPLORE=http://trending.codehub-app.com/
URL_GANK=http://gank.io/api/data/all/
URL_ARSENAL=http://182.254.233.29/arsenal_api/

@skl351
Copy link
Author

skl351 commented Mar 9, 2017

谢谢,您的速度的好快啊,试了一下,可以正常运行项目了,再次十分感谢您的项目

@TellH
Copy link
Owner

TellH commented Mar 9, 2017

@skl351 :) Thanks

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

2 participants