Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/218.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 无法取消占位符视图_Android_Gradle - Fatal编程技术网

Android 无法取消占位符视图

Android 无法取消占位符视图,android,gradle,Android,Gradle,我的gradelle中出现问题,响应无法解决“”的依赖关系:app@debug/compileClasspath':无法解析com.mindWorks:占位符视图:0.7.1 我喜欢 a。设置>生成异常部署>渐变>取消选中脱机工作失败 B清理并重新反驳它失败了 C无效并重新启动失败 apply plugin: 'com.android.application' android { compileSdkVersion 27 buildToolsVersion '26.0.2' use

我的gradelle中出现问题,响应无法解决“”的依赖关系:app@debug/compileClasspath':无法解析com.mindWorks:占位符视图:0.7.1

我喜欢

a。设置>生成异常部署>渐变>取消选中脱机工作失败 B清理并重新反驳它失败了 C无效并重新启动失败

   apply plugin: 'com.android.application'

   android {
compileSdkVersion 27
buildToolsVersion '26.0.2'
useLibrary 'org.apache.http.legacy'
defaultConfig {
    applicationId "sid.len.mobile"
    minSdkVersion 21
    targetSdkVersion 27
    versionCode 1
    versionName "1.0"
    multiDexEnabled true
}
packagingOptions {
    pickFirst 'META-INF/LICENSE.txt' // picks the JavaMail license file
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
    }
    }

 repositories {
jcenter()
maven {
    url "https://maven.java.net/content/groups/public/"
      }
      }

      dependencies {

implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
    exclude group: 'com.android.support', module: 'support-annotations'
})

implementation 'com.android.support:appcompat-v7:27.0.0'
implementation 'com.android.support:gridlayout-v7:27.0.0'
compile 'com.android.support:support-annotations:27.0.0'
implementation 'com.android.support:recyclerview-v7:27.0.0'

compile 'com.android.support:design:27.0.0'

implementation 'com.android.support.constraint:constraint-layout:1.1.3'
compile 'com.android.support:multidex:1.0.3'

implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'

compile 'com.google.code.gson:gson:2.6.2'

compile 'com.google.android.gms:play-services-location:11.0.1'
compile 'com.google.android.gms:play-services-maps:11.0.1'
compile 'com.google.android.gms:play-services-safetynet:11.0.1'
compile 'com.google.android.gms:play-services-base:11.0.1'
compile 'com.google.android.gms:play-services-basement:11.0.1'
compile 'com.google.android.gms:play-services-tasks:11.0.1'

compile 'net.zetetic:android-database-sqlcipher:3.4.0@aar'

compile 'com.squareup.okhttp3:logging-interceptor:3.4.0'
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.squareup.retrofit2:converter-gson:2.1.0'
compile 'com.squareup:otto:1.3.8'

//noinspection OutdatedLibrary
compile 'com.android.volley:volley:1.1.0'

compile files('libs/jtds-1.3.1.jar')
testCompile 'junit:junit:4.12'

compile 'com.mindorks:placeholderview:0.7.1'

}

您需要添加此存储库:

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}
build.gradle
似乎有不止一个问题,包括重复的
*.jar
引用和一些过时的库(以防您可能想知道为什么它仍然无法构建)

至少使用
buildToolsVersion“27.0.3”