Невозможно разрешить зависимость для ': app @ debug / compileClasspath': не удалось разрешить проект: PGSDKVR4.AggrePay-android - PullRequest
0 голосов
/ 27 февраля 2019

Это мой файл gradle:

buildscript {
    repositories {
        maven { url 'https://maven.fabric.io/public' }
    }

    dependencies {
        classpath 'io.fabric.tools:gradle:1.+'
    }
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'

android {
    compileSdkVersion 26
    defaultConfig {
        applicationId "apps.com.athulyacustomer"
        minSdkVersion 19
        targetSdkVersion 26
        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 project(":PGSDKVR4")
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
    implementation 'com.android.support:cardview-v7:26.1.0'
    implementation 'com.android.support:recyclerview-v7:26.1.0'
    implementation 'com.android.support:design:26.1.0'
    implementation 'com.mcxiaoke.volley:library:1.0.19'
    implementation 'com.weiwangcn.betterspinner:library-material:1.1.0'
    implementation 'com.github.nipun-birla:BoxLoaderView:0.0.1'
    implementation 'com.squareup.picasso:picasso:2.5.2'
    implementation 'com.weiwangcn.betterspinner:library-material:1.1.0'
    implementation('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
        transitive = true;
    }
}
repositories {
    maven { url "https://jitpack.io" }
    maven { url 'https://maven.fabric.io/public' }
}

Получение нижеупомянутой ошибки после синхронизации gradle с папкой проекта.

ОШИБКА: невозможно разрешить зависимость для ': app @ debug/ compileClasspath ': не удалось разрешить проект: PGSDKVR4.

ОШИБКА: невозможно разрешить зависимость для': app @ debugAndroidTest / compileClasspath ': не удалось разрешить проект: PGSDKVR4.

Добавлен плагинв соответствии с документацией и примером приложения, представленного по указанным ниже ссылкам.

https://github.com/paymentgatewayintegration/sampleapp

Пожалуйста, дайте мне знать, как я могу найти решение этой ошибки.Жду ваших ответов.

1 Ответ

0 голосов
/ 27 февраля 2019

обновить зависимости в ваших проектах файл build.gradle

dependencies {
    classpath 'com.android.tools.build:gradle:3.1.4'
    classpath 'com.google.gms:google-services:3.2.1'
    }
...