I was using my phone ASUS Zenfone Max when I accidentally uninstalled my Download Manager, I thought it was a random pop up download when you go to sites so I deleted it. After that, when I tried download photos from Google, a window popped saying "The Browser has stopped working". I have also tried to download from Google Play Store, but it won't let me download any apps at all. I also tried opening the "Downloads", that can be found on the settings, but this pop up window shows up see photo. I tried downloading an apk file using another download manager (named ADP), it got installed, but when I tried to download photos again from browser and apps on Play Store it still won't let me. I think the reason is that the one I deleted is the built in app. I don't know if I reset my phone will help me to download files again. Please help, I have already searched the internet but I still can't find a solution.
My big brother has the same phone (ASUS Zenfone Max). He installed an app where he can send built in apps to other devices via APK. So he sent the Download Manager APK on my phone, tried to install it but the "com.android.providers.downloads is not working" still keept popping out. In the end I decided to Factory Reset my phone. And it worked.
My phone is not rooted so I was shocked that I deleted a built in app. Maybe because of the pop up download I got when I went to a website (I was checking sites to download Korean Dramas). I read from forums that if they deleted a built in app and chose factory reset there was no assurance that the said app will be in the device, so I presumed that by sending and installing the original apk file of DM and by choosing Factory Reset the system will recognize the installed apk file and reset it.
If your phone is rooted and custom recovery is installed then you can reflash gapps it will solve your problem(choose gapps according to your mobile architecture) open gapps link here.
Disclaimer I'm not responsible if you bricked your device. Do it your own responsibility.