I'm an android learner. I have a doubt can anyone please resolve my errors. I build a normal news story app. In the android studio, I built an app 100% working fine without errors and all app functionalities are working well. Then after I'm generating build apk to check on real devices. after installing build apk, it's working very well on real devices.
After generating signed apk and installed on a real device. it is not showing category images on signed apk. but category images are coming in build apk.
i don't know why category images are not showing in signed apk. i cannot understand why it will not come.
Backend using PHP for admin panel...
See The Difference in images...
Build apk showing category images please check image 1
signed apk not showing category images please check image 2
build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion '27.0.3'
defaultConfig {
applicationId 'com.example.demo'
minSdkVersion 14
targetSdkVersion 27
versionCode 1
versionName "1.0.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:21.0.3'
implementation 'com.google.android.gms:play-services:6.5.87'
implementation 'com.android.support:recyclerview-v7:21.+'
}
proguard-rules.pro:
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in G:\Programs\SDK\tools\proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}