Skip to content

Could not determine the dependencies of task ':app:processDebugResources' #9

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

Open
Abhaykumarbhumihar opened this issue Oct 11, 2024 · 0 comments

Comments

@Abhaykumarbhumihar
Copy link

Could not determine the dependencies of task ':app:processDebugResources'.

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
Could not find com.romandanylyk:pageindicatorview:1.0.3.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/romandanylyk/pageindicatorview/1.0.3/pageindicatorview-1.0.3.pom
- https://dl.google.com/dl/android/maven2/com/romandanylyk/pageindicatorview/1.0.3/pageindicatorview-1.0.3.pom
- https://jcenter.bintray.com/com/romandanylyk/pageindicatorview/1.0.3/pageindicatorview-1.0.3.pom
Required by:
project :app > com.ticketmaster.presence:presence:2.22.6

Possible solution:

here is my build.gradel

`apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlinx-serialization'

//repositories {
// Properties properties = new Properties()
// properties.load(project.rootProject.file('local.properties').newDataInputStream())
// //def venuenext_username = properties.getProperty('psdk.config.venuenext_username')
// //def venuenext_pass = properties.getProperty('psdk.config.venuenext_pass')
// maven {
// url "https://venuenext.jfrog.io/venuenext/android-sdk"
// credentials {
// // username = venuenext_username
// // password = venuenext_pass
// }
// }
//}

android {
compileSdkVersion 33
defaultConfig {
applicationId "com.ticketmaster.presence.demo"
minSdkVersion 21
targetSdkVersion 33
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

    Properties properties = new Properties()
    properties.load(project.rootProject.file('local.properties').newDataInputStream())

    // Presence SDK Setup
    def consumerKey = properties.getProperty('psdk.config.consumer_key')
    def teamName = properties.getProperty('psdk.config.team_name')
    def useNam = properties.getProperty('psdk.config.use_nam')
    def brandingColor = properties.getProperty('psdk.config.branding_color')
    buildConfigField("String", "CONSUMER_KEY", "$consumerKey")
    buildConfigField("String", "TEAM_NAME", "$teamName")
    buildConfigField("boolean", "USE_NAM", "$useNam")
    buildConfigField("String", "BRANDING_COLOR", "$brandingColor")

}

buildTypes {
    debug {
        debuggable true
    }
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.2.1'
implementation 'com.ticketmaster.presence:secure-entry:1.2.9'
implementation 'com.ticketmaster.presence:presence:2.22.6'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.31"
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'

/* VN Libraries, only add these if you want to integrate with Venue Next
implementation "com.venuenext:vnwebsdk:2.0.10"
api "io.jsonwebtoken:jjwt-api:0.11.2"
runtimeOnly "io.jsonwebtoken:jjwt-impl:0.11.2"
runtimeOnly("io.jsonwebtoken:jjwt-orgjson:0.11.2") {
    exclude group: 'org.json', module: 'json' //provided by Android natively
}*/


testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test:runner:1.3.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'

}

`

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

1 participant