Android Market app throwing "a server error has occurred" error message


Question

I have Samsung I5500 Galaxy 5 running on Android 2.2. I don't know when this error started, but when I open the Market application, it throws the following error:




A server error has occurred. Retry, or cancel and return to the previous screen.




I have tried a factory reset, but it didn't solve the issue.



How to fix this issue?


Answer

TL;DR: Google has ended the support for the Android Market app. Users need to migrate to the Play Store app by installing the compatible version (skip to the last section).






Background



According to Android Authority, Google has ended Android Market support for Android 2.1 Eclair and below:




On June 30, devices running Android 2.1 Eclair or lower will no longer be able to access, or install other apps from, the Android Market.




In a different article, they also stated an opinion that the Android Market app would no longer be supported on "newer" versions:




Google also mentioned that it will continue to support “later versions of Android Market for as long as feasible.” Exactly what that means is anyone’s guess, but I think it’s safe to say that the company will eventually end support for Android Market on other versions of its operating system — and probably sooner rather than later.




The Play Store app is supported on Android 2.2 Froyo, and by default, the Android Market app should be automatically updated on supported devices when it's opened:




If you still have the Android Market on your device for whatever reason, it’s probably best if you upgrade it to the newer and much improved Google Play — provided you are running Froyo or newer. As soon as you open the Android Market app, a window will pop up saying that a new version is available for download. Then just follow the directions on your screen, and in a minute or two the Android Market will be replaced by Google Play.







The issue



However, according to some reports (1, 2), the Android Market shows an error message "A server error has occurred. Retry, or cancel and return to the previous screen." since at least 8 March 2018, preventing it to be updated to the Play Store app, and thus making it dysfunctional.






The fix



While the Android Market app cannot update itself, users are still able to install the Play Store app by downloading and installing the APK.



APKMirror listed all variants for the Play Store app, including for Android 2.2 Froyo. The latest version available on there is 4.9.13.




Version: 4.9.13 (80290013)

Package: com.android.vending

Min: Android 2.2 (Froyo, API 8)



Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes