Screen_recording_20241011_171946.webm
I am getting a configuration error message. The error message states:
Something went wrong setting up your configuration.
Steps to Reproduce
List down steps to help the maintainers reproduce the issue:
Clone the repository (https://github.com/ticketmaster/Android-TicketsDemoApp.git , branch name :- master).
Open the project in Android Studio.
Sync the Gradle build file (build. gradle).
Attempt to build the project.
Expected Behavior
Change keys in build.gradel
key get from here
Explain what you expect to happen:
The project should be run successfully without configuration error message.
Actual Behavior
Describe what actually happens:
Something went wrong setting up your configuration.
here is complete app build.gradel
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-parcelize'
android {
compileSdk 34
defaultConfig {
applicationId "com.ticketmaster.sampleintegration.demo"
namespace "com.ticketmaster.sampleintegration.demo"
minSdk 26
targetSdk 34
versionCode 1
versionName "1.0"
// Tickets SDK Setup
buildConfigField("String", "CONSUMER_KEY", "\"qa49XlOrAPbQVOLN7eAdDx1WZAUGXY9W\"")
buildConfigField("String", "TEAM_NAME", "\"abhayrai-App\"")
buildConfigField("String", "BRANDING_COLOR", "\"#C11B16\"") // Color wrapped in double quotes
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
dataBinding {
enabled = true
}
buildFeatures {
buildConfig = true
}
}
//Resolution strategy that force the use of the corresponding libraries that causes duplicity
configurations.all {
resolutionStrategy.force 'androidx.legacy:legacy-support-v4:1.0.0'
resolutionStrategy.force 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.10'
}
dependencies {
implementation 'androidx.core:core-ktx:1.13.1'
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'com.google.android.material:material:1.12.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
//Dependencies libraries needed for tickets and authentication sdks.
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
implementation 'androidx.compose.material:material:1.6.8'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1'
//Tickets SDK
implementation 'com.ticketmaster.tickets:secure-entry:1.2.10'
implementation 'com.ticketmaster.tickets:tickets:3.7.5'
//Accounts SDK
implementation 'com.ticketmaster.accounts:authentication:3.7.0'
// Retail SDK
implementation "com.ticketmaster.retail:purchase:1.1.3"
implementation "com.ticketmaster.retail:prepurchase:1.0.8"
implementation "com.ticketmaster.retail:discoveryapi:1.0.4"
implementation "com.ticketmaster.retail:foundation:1.0.1"
implementation "com.ticketmaster.purchase:ticketmaster-purchase:0.0.7"
}
```
`
Screen_recording_20241011_171946.webm
I am getting a configuration error message. The error message states:
Something went wrong setting up your configuration.
Steps to Reproduce
List down steps to help the maintainers reproduce the issue:
key get from here
Explain what you expect to happen:
The project should be run successfully without configuration error message.
Actual Behavior
Describe what actually happens:
Something went wrong setting up your configuration.
here is complete app build.gradel