Closed nipunai7 closed 2 years ago
Hello Nipuna!
This looks like an issue with Android Code Minification.
Please add the following line to your project's "
-keep class lk.payhere.** { *; }
If the "proguard-rules.pro" file does not exist, you can simply create one in the project's "
After adding a new file, make sure it is included in the project's "
android {
compileSdkVersion 29
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
lintOptions {
disable 'InvalidPackage'
}
defaultConfig {
// Android configurations are usually here
}
// Signing Configurations are usually here
buildTypes {
release {
signingConfig signingConfigs.debug
minifyEnabled enableProguardInReleaseBuilds
// ******** Add the following two lines *********
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}