Good day I am trying to rebuild an app that was running all along i was trying to run on a new phone now I cant buid the app.I am receivng this error Failed to resolve: com.aminography:choosephotohelper:1.0.4
My build.gradle file is as follows
`
buildscript {
ext.kotlin_version = '1.4.32'
repositories {
google()
jcenter()
maven {
url 'https://maven.fabric.io/public'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
My build gradle inside app folder
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'com.jfrog.artifactory'
android {
compileSdkVersion 33
defaultConfig {
applicationId "id.mrspaza.android"
minSdkVersion 26
targetSdkVersion 33
versionCode 7
versionName "1.0.1"
}
signingConfigs {
config {
keyAlias 'androiddebugkey'
keyPassword 'android'
storeFile file('debug.keystore')
storePassword 'android'
}
}
buildTypes {
debug {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
buildConfigField 'String', 'BASE_URL', '"http://mrspaza.creativecloud.co.zw/geten/"'
buildConfigField 'String', 'FRESHCHAT_APP_ID', '"2a6c37b3-73bc-471a-b0d6-405af6cea017"'
buildConfigField 'String', 'FRESHCHAT_APP_KEY', '"880902a25-79bb-4dc6-b8d2-2e524ae76575"'
ext.enableCrashlytics = false
manifestPlaceholders = [crashlyticsEnabled: false]
}
release {
signingConfig signingConfigs.config
minifyEnabled true
shrinkResources true
debuggable false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
buildConfigField 'String', 'BASE_URL', '"http://mrspaza.creativecloud.co.zw/geten/"'
buildConfigField 'String', 'FRESHCHAT_APP_ID', '"2a6c37b3-73bc-471a-b0d6-405af6cea017"'
buildConfigField 'String', 'FRESHCHAT_APP_KEY', '"80902a25-79bb-4dc6-b8d2-2e524ae76575"'
ext.enableCrashlytics = true
manifestPlaceholders = [crashlyticsEnabled: true]
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.core:core-ktx:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1'
implementation 'com.google.android.material:material:1.0.0'
implementation 'com.google.android.gms:play-services-ads:17.0.0'
// Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-jackson:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
implementation 'com.github.bumptech.glide:okhttp3-integration:4.9.0'
implementation 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'
// Rx
implementation 'io.reactivex.rxjava2:rxjava:2.2.0'
implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
implementation 'com.github.pwittchen:reactivenetwork-rx2:0.11.0'
implementation 'com.jakewharton.rxbinding2:rxbinding:2.1.1'
implementation 'com.google.firebase:firebase-core:17.2.0'
implementation 'com.google.firebase:firebase-messaging:20.0.0'
implementation 'com.google.firebase:firebase-analytics:17.2.0'
implementation 'com.github.bumptech.glide:glide:4.9.0'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.1'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1'
kapt 'com.github.bumptech.glide:compiler:4.9.0'
// Logging
implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
implementation("com.github.bumptech.glide:glide:4.9.0") {
exclude group: "com.android.support"
}
implementation 'com.karumi:dexter:5.0.0'
implementation 'me.dm7.barcodescanner:zxing:1.9.8'
implementation 'com.github.prolificinteractive:material-calendarview:2.0.1'
implementation 'com.jakewharton.threetenabp:threetenabp:1.2.1'
implementation 'com.github.freshdesk:freshchat-android:2.7.0'
implementation 'com.github.mumayank:AirLocation:1.2'
implementation 'org.greenrobot:eventbus:3.1.1'
implementation 'com.aminography:choosephotohelper:1.0.4'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.3.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.github.kenglxn.qrgen:android:2.6.0'
// ViewPager2
implementation "androidx.viewpager2:viewpager2:1.0.0"
}
apply plugin: 'com.google.gms.google-services'
I am trying to build the apk and now it cant resolve this dependence com.aminography:choosephotohelper:1.0.4