Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/213.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
Java 从github克隆现有Android项目时出错_Java_Android_Gradle_Github - Fatal编程技术网

Java 从github克隆现有Android项目时出错

Java 从github克隆现有Android项目时出错,java,android,gradle,github,Java,Android,Gradle,Github,我需要将我现有的android项目从github克隆到另一台计算机上,但当我克隆我的repo android studio时,给了我这样的错误。要成功克隆我的项目,我可以做些什么 我的Module.app文件是BWLOW apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services' android { compileSdkVersion 28 defaultConfi

我需要将我现有的android项目从github克隆到另一台计算机上,但当我克隆我的repo android studio时,给了我这样的错误。要成功克隆我的项目,我可以做些什么

我的Module.app文件是BWLOW

apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "com.example.whatsapp"
        minSdkVersion 19
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    //noinspection GradleCompatible
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support:design:28.0.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'

    implementation 'com.google.firebase:firebase-auth:16.0.5'
    implementation 'com.google.firebase:firebase-database:16.0.4'
    implementation 'com.google.firebase:firebase-storage:16.0.4'
    implementation 'com.firebaseui:firebase-ui-database:4.2.1'

    implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.+'

    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

    implementation 'de.hdodenhof:circleimageview:3.0.0'
    implementation 'com.squareup.picasso:picasso:2.71828'

}

错误是


按双班制并键入脱机工作。 你可以坐火车去那里。构建、执行、部署>渐变。
您是否可以查看是否已启用脱机工作。如果是这种情况,请禁用它,然后重试。

您是否尝试了
使缓存无效/重新启动
?确切的问题在于未解决的依赖项。git clone@stud3ntofline work已禁用可以发布顶级渐变文件。我想看看,