C:\Users\Admin.gradle\caches\transforms-2\files-2.1\9f39f95ecc02dcabb161a6205cd680b4\jetified-magicretry-1.0.6\res\layout-v11\magicretry_fragment.xml:121: AAPT: error: resource android:attr/android:progressBarStyleSmall not found.
I am using PayuMoney payment gateway SDK I am getting this error after migrating to AndroidX.
Please help me to solve this issue.
build.gradle file
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
defaultConfig {
applicationId "com.sk.sk"
minSdkVersion 20
targetSdkVersion 28
versionCode 23
versionName "2.0"
multiDexEnabled true
}
useLibrary 'org.apache.http.legacy'
buildTypes {
debug {
debuggable true
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main { assets.srcDirs = ['src/main/assets', 'app/', 'android_assets', 'android_asset'] }
}
dexOptions {
javaMaxHeapSize "4g"
}
}
repositories {
mavenCentral()
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
implementation files('libs/android-async-http-1.4.2.jar')
implementation files('libs/PGSDK_v1.0.1.jar')
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'com.google.android.material:material:1.0.0'
implementation 'com.facebook.android:facebook-android-sdk:4.0.0'
implementation 'com.googlecode.android-query:android-query:0.25.9'
implementation 'com.google.android.gms:play-services:12.0.1'
implementation 'com.google.android.gms:play-services-analytics:17.0.0'
implementation 'ch.acra:acra:4.6.1'
implementation 'uk.co.chrisjenx:calligraphy:2.2.0'
implementation 'com.jpardogo.materialtabstrip:library:1.1.0'
implementation 'com.koushikdutta.urlimageviewhelper:urlimageviewhelper:1.0.4'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.2.+'
implementation 'com.github.siyamed:android-shape-imageview:0.9.3@aar'
implementation files('libs/core-2.1.jar')
implementation project(':linkedin-sdk')
implementation 'com.payumoney.sdkui:plug-n-play:1.5.0'
//implementation 'com.payumoney.core:payumoney-sdk:7.5.0'
//implementation project(':sdkui')
}