ticketmaster / Android-TicketsDemoApp

Android Ignite/Ticketmaster SDK, Tickets framework demo integration
MIT License
2 stars 0 forks source link

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

Open Abhaykumarbhumihar opened 1 month ago

Abhaykumarbhumihar commented 1 month ago

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:

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'

}

`