Open eul opened 3 months ago
We are facing the same issue. We think this is due to https://jfrog.com/blog/jcenter-sunset/ Maven Central doesn't have com.romandanylyk:pageindicatorview:1.0.3 at the moment. Ticketmaster team will need to review this dependency and advise a solution.
We're also running into this, from what I can tell doesn't seem like com.romandanylyk:pageindicatorview:1.0.3
is hosted anywhere right now, so ideally Ticketmaster can up the underlying dependency.
Based on the comment here, it seems like a small change would allow Ticketmaster to pull the dependency from Jitpack.
We are able to resolve this issue by doing the following
build.gradle
implementation 'com.ticketmaster.tickets:tickets:3.7.4'
settings.gradle
dependencyResolutionManagement {
...
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Here is my app 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'
}
`
getting error
Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.romandanylyk:pageindicatorview:1.0.3.
Could not find com.romandanylyk:pageindicatorview:1.0.3.
Here is my app 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' }
`
getting error
Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.romandanylyk:pageindicatorview:1.0.3.
Could not find com.romandanylyk:pageindicatorview:1.0.3.
Please find the comment from samsiuatpurple above regarding the solution link https://github.com/ticketmaster/Android-TicketsDemoApp/issues/8#issuecomment-2303284797
Execution failed for task ':app:mergeDebugNativeLibs'.