Android 安卓工作室。生成,gradle-导入项目后找不到属性
导入某些项目后,我遇到以下错误。 该项目最初来自GitHub 它发生在升级到gradle 2.10之后Android 安卓工作室。生成,gradle-导入项目后找不到属性,android,gradle,Android,Gradle,导入某些项目后,我遇到以下错误。 该项目最初来自GitHub 它发生在升级到gradle 2.10之后 https://github.com/sephiroth74/HorizontalVariableListView 这就是我得到的错误 Error:(3, 0) Could not find property 'GROUP' on project ':library'. <a href="openFile:C:\Users\Edi\Google Drive\Android\Androi
https://github.com/sephiroth74/HorizontalVariableListView
这就是我得到的错误
Error:(3, 0) Could not find property 'GROUP' on project ':library'.
<a href="openFile:C:\Users\Edi\Google Drive\Android\AndroidStudio_Projects\HorizontalListView\library\build.gradle">Open File</a>
为什么要在gradle中添加
组
。在图书馆的页面上,没有任何地方写着需要我的设置。gradle看起来像这样。包括:应用程序“,”:库“,”:演示”。我应该在此编码更改中更改的内容包括:app'、':library'、':demo'以包括:app'my settings.gradle看起来像这样包括:app'、':library'、':demo'我应该更改什么?更改为包括:app'
apply plugin: 'android-library'
group GROUP
version VERSION_NAME
android {
compileSdkVersion 19
buildToolsVersion "19.1"
defaultConfig {
minSdkVersion 9
targetSdkVersion 19
versionCode 1
versionName version
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:support-v4:19.1.+'
compile 'it.sephiroth.android.library.horizontallistview:hlistview:1.2.2'
}
apply from: 'https://raw.githubusercontent.com/sephiroth74/gradle-mvn-push/master/gradle-mvn-push.gradle'
in the settings.gradle their is
include ':app', ':library'
he is not able to find that library edit it and write
include ':app'