Skip to main content


Showing posts from February, 2020

Web application running on WAS server refresh url giving 404 not found issue

Problem statement :
Web application running on WAS server ( IBM Web Sphere Application Server is giving 404 error and once refreshing URL will work and after next refresh of web url it will give 404 and so on.

Solution :
In my application there are 3 web servers served via load balancer, We trouble shooted by stop two web servers and started one web server ( to make sure request always hits one server) after that we tested application URL refresh is working fine, So we concluded that there is no problem in first server, We did the same for by keeping second server start and first and third server down then we realised that all the web request to the second server is failing, then we did same for 3 rd server and observed they request to 3 rd server also failing.

Finally we observed that name resolution problem on the server. And fixed accordingly.

How To Increase The Android APK Version Number In Android Studio

Problem :
While updating the android app in google play store I am seeing an error message as You need to use a different version code for your APK or Android App Bundle because you already have one with version code 1.

Solution : 

1) Open your android application in Android Studio .
2) Open build.gradle(Module: app)
3) Increase the version number and version name as shown in the below code
2) Go to Generate Signed Bundle Or APK  and choose APK option and finish .Your latest apk will be generated in \app\release folder in your local .

android { compileSdkVersion 29     buildToolsVersion "29.0.3"    defaultConfig  { applicationId ""         minSdkVersion 15         targetSdkVersion 29         versionCode 2 versionName "2.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes {      release {      minifyEnabled false                 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), '…

App Bundle Error While Uploading APK in google play store

Problem Statement :
You uploaded an APK or Android App Bundle that is signed with a key that is also used to sign APKs that are delivered to users. Because you are enrolled in App Signing by Google Play, you should sign your APK or Android App Bundle with a new key before you upload it.

Solution :
If your mobile application is developed by you then you can import your apk into google Android studio and goto build option for signing build package.