replacing old android application in google play [ Possible Errors ]

I had a previous application in google play at which need to be updated, I faced following issues after developing new application,

1) The new app should have same package name as old app, so I had to change code to use package name as com.wAgriConnect in new application source.

2) You can’t download the previous application apk from google play.

3) You should have old certificate keystore file with you to update as same application, otherwise it shows an error as,

You uploaded an APK that is signed with a different certificate to your previous APKs. You must use the same certificate

4) The application APK’s version code needs to be higher than 1402150570,

To check and fix this error,

1) check the version using command,

$ ./out/host/linux-x86/bin/aapt dump badging out/target/product/lynx/system/priv-app/GreenEcosystem.apk
package: name=’com.wAgriConnect’ versionCode=’1402150572′ versionName=’1.0′
application-label:’Green Ecosystem’
application: label=’Green Ecosystem’ icon=’res/drawable-xhdpi/ic_launcher.png’
launchable-activity: name=’com.wAgriConnect.MainActivity’¬† label=’Green Ecosystem’ icon=”
uses-implied-feature:’android.hardware.telephony’,’requested a telephony-related permission or feature’
uses-implied-feature:’android.hardware.touchscreen’,’assumed you require a touch screen unless explicitly made optional’
supports-screens: ‘small’ ‘normal’ ‘large’ ‘xlarge’
supports-any-density: ‘true’
locales: ‘–_–‘
densities: ‘160’ ‘320’ ‘480’

Check the versionCode as reported above and edit file AndroidManifest.xml from your application source to make it as,


5) We can’t use as a package name for android application, as it looks like its reserved for system applications.

Android Android Commands Android Java Applications Application Libraries Bash / Shell Scripts Bluetooth driver Build Frameworks Commands and Packages Core Kernel C Programs Development Environment Setup Documents / Books Errors & Failures File Systems Framebuffer / Display Driver git Go Language Programs Hardware Platforms Home JAVA Programs Kernel & Device Drivers Kernel Booting and Porting Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL NDK / Middleware / HAL Network Driver OS Concepts PHP Procfs Filesystem Programming Languages RaspberryPi Scripting and Automation Search Engine Optimisation ( SEO ) Socurce Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Userspace Utilities Web design and development Wordpress Yocto / Bitbake / Openembedded

Leave a Reply