[Q] android 4.4.2 "hosts" file Google Play problem? - Android Q&A, Help & Troubleshooting

I'm on android 4.1.2 rooted LG G2. I had to reset phone after removing root. I then got root again but now Google Play Store was missing. I tried downloading a Google Play .apk and Google Play Services. I edited hosts file and added # in front of second one. It worked for some minutes but stopped.now when I looked at hosts file, it's empty. Now when I open hosts editor app it says error parsing hosts file.
I tried clearing app store and google play services data and cache but it don't work. It's the hosts file that's empty. I took a screenshot of what it was before it went blank. What do I do to fix it ?

ryan012 said:
I'm on android 4.1.2 rooted LG G2. I had to reset phone after removing root. I then got root again but now Google Play Store was missing. I tried downloading a Google Play .apk and Google Play Services. I edited hosts file and added # in front of second one. It worked for some minutes but stopped.now when I looked at hosts file, it's empty. Now when I open hosts editor app it says error parsing hosts file.
I tried clearing app store and google play services data and cache but it don't work. It's the hosts file that's empty. I took a screenshot of what it was before it went blank. What do I do to fix it ?
Click to expand...
Click to collapse
If your not rooted you really can't fix it. What more than likely happened is you somehow created more than 1 Google play file inside the system/app or data/app folders. You need root to remove them
Sent from my SCH-I535 using Xparent ICS Tapatalk 2

ShapesBlue said:
If your not rooted you really can't fix it. What more than likely happened is you somehow created more than 1 Google play file inside the system/app or data/app folders. You need root to remove them
Sent from my SCH-I535 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
I said in the post I got root again after I did factory reset. Now play store isn't working.
What are the file names ? Are you talking about two files the same kind or two .apk files installed ? I tried searching and didn't find anything. earlier I tried uninstalling play services and play store and reinstall one from online. What do I do ? Without reset phone ?

ryan012 said:
I said in the post I got root again after I did factory reset. Now play store isn't working.
What are the file names ? Are you talking about two files the same kind or two .apk files installed ? I tried searching and didn't find anything. earlier I tried uninstalling play services and play store and reinstall one from online. What do I do ? Without reset phone ?
Click to expand...
Click to collapse
Both. You can also uninstall play services if you'd like. You may have to reset the phone
Sent from my SCH-I535 using Xparent ICS Tapatalk 2

ShapesBlue said:
Both. You can also uninstall play services if you'd like. You may have to reset the phone
Sent from my SCH-I535 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
I tried moving them to system apps and it hasn't fixed it. Do you know any other way except reset ?

ryan012 said:
I tried moving them to system apps and it hasn't fixed it. Do you know any other way except reset ?
Click to expand...
Click to collapse
Nope I sure don't
Sent from my SCH-I535 using Xparent ICS Tapatalk 2

ShapesBlue said:
Nope I sure don't
Sent from my SCH-I535 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
I had fixed it after reinstalling firmware because after trying something it got stuck on startup and wouldn't start into android.

Related

google play force close everytime

i won't be posting if i found the solution believe me. ok i have a samsung galaxy gio GT-S5660M Android version 2.3.4 build number GINGERBREAD.MUGKG3 (Stock rom gingerbread ) but it is rooted. ok so i was trying to free up some space on my internal memory and i was using titanium back up and i converted google play to a user app (it took too long so i assumed it didn't work) but i backup the google play. i was able to move it to sd card thought ,but then i still don't have enought free memory to receive text msg (20mb needed) so i did a factory reset which freed up everything. and i was still rooted ( i fixed it) but now google play won't open it gives me this message (process com,android,vending) so i downloaded a new com.android.vending but still won't work i tried the clear data it will open and i can search but whenever i try to download it will force close (i know you can download app to your pc and install it from sd but it would be more convenient to do it on your phone please help if you can and thank you for reading i know it's quite long
I had some issues with Google play earlier, but it was trying to put a modded market on it. As far as I know, Google play must stay as a system app, out else it will not work.
I would suggest trying to move it back to being a system app. I use a free app from Google play called /system/app mover.
https://play.google.com/store/apps/details?id=de.j4velin.systemappmover
It can tell you if it is installed as a system app or not. If not, move it back to system and then reboot and see if that helps.
Sent from my Verizon Galaxy Nexus running Fruits 'N Vegetables with bacon grease (FNV007) via Xparent Cyan Tapatalk 2
KeylanHalfdan said:
I had some issues with Google play earlier, but it was trying to put a modded market on it. As far as I know, Google play must stay as a system app, out else it will not work.
I would suggest trying to move it back to being a system app. I use a free app from Google play called /system/app mover.
https://play.google.com/store/apps/details?id=de.j4velin.systemappmover
It can tell you if it is installed as a system app or not. If not, move it back to system and then reboot and see if that helps.
Sent from my Verizon Galaxy Nexus running Fruits 'N Vegetables with bacon grease (FNV007) via Xparent Cyan Tapatalk 2
Click to expand...
Click to collapse
thanks for the reply i would try it but i can't download it and the program i use to download android apps to my pc can't seem to download this app but it can download other apps if you have the apk file can you please give it to me i can't find it
clarence15 said:
thanks for the reply i would try it but i can't download it and the program i use to download android apps to my pc can't seem to download this app but it can download other apps if you have the apk file can you please give it to me i can't find it
Click to expand...
Click to collapse
FIXED IT i can hug you right now, did it the hard way though but anyway thanks for the idea i would have never thought of it found the solution here http://www.addictivetips.com/mobile/how-to-install-any-app-as-system-app-on-android/
clarence15 said:
FIXED IT i can hug you right now, did it the hard way though but anyway thanks for the idea i would have never thought of it found the solution here http://www.addictivetips.com/mobile/how-to-install-any-app-as-system-app-on-android/
Click to expand...
Click to collapse
Good to hear that you were able to fix your problem.
Sent from my Verizon Galaxy Nexus running Fruits 'N Vegetables with bacon grease (FNV007) via Xparent Cyan Tapatalk 2
Great job
Seriously ... i wanna give you a hug too, i accidently deleted google services and play store with titanium app and i found the apk online and installed them, but play store would force close everytime i d wanted to install an app, but i moved play store to system and now its working again, thanks so much
clarence15 said:
FIXED IT i can hug you right now, did it the hard way though but anyway thanks for the idea i would have never thought of it found the solution here
Click to expand...
Click to collapse
Hi there,
If ever you encounter this FC/not dowloading apps for Playstore/Market again, this might help, it might also be the cause of new partition or something like that, you can try this option freely..
1. check if cache folder has "download" folder inside it, if it no download folder then create one inside /cache, e.g. mkdir /cache/download.
2. then chmod the /cache folder to 777, also make sure the com.android.vending folder is present inside /data/data/ folder.
3. You can achive it through shell terminal.
Hope this helps you next time if ever, just ever , fixing the FC(Force close or not downloading apps on playstore or market).
Thanks
~imon

gapps force close / no play store

so i was playing in Tibu and deleted the wrong thing but i deleted about 5 things and dont know which cause the actions in the title. i deleted one thing i cant remember. favorite contacts, com.sec.android.providers.download, samsung acount, samsung push service and one i cant rememebr...anyone know which app will stop the play store?
can someone please help me so i dont have to re odin this thing. i restored everything i uninstalled and now playstore force closes. i dont know what else to do. ive cleared data on playstore.
flash your gapps again?
Sent from my SL101 using tapatalk 2
hisname said:
flash your gapps again?
Sent from my SL101 using tapatalk 2
Click to expand...
Click to collapse
i dont know how to do that. how do i?
download the latest gapps for your phone,boot into recovery and flash gapps.done!
Sent from my SL101 using tapatalk 2
no recovery here partner. guess i have to re odin..ive tried everything and playstore will constantly force close.
blackbass595 said:
no recovery here partner. guess i have to re odin..ive tried everything and playstore will constantly force close.
Click to expand...
Click to collapse
another way is go to your file manger app,go to system->app->find something like com.vending.apk or something like that->delete it and install a new play store from the gapps file by extracting the file and install the new play store
Sent from my SL101 using tapatalk 2

[Q] Play Store Problem : No Connection. How to fix!?

The Play Store displays no connection even with wifi. Already tried wiping dalvik cache, cache partition. Also tried force closing and clearing data from Google Play Services, Play Store, Google Service Framework. Help!!
Not enough information, your Play app could be corrupt, app settings, ROM or Google account.
Try logging into Google play on the website first to check the account works, then un-install Play app, re-install without settings, last try factory reset/reflash ROM.
It could be really simple or very terminal, like you've disabled a service or corrupted your ROM.
extra info
Google play account works on website. Tried signing out and can't sign back in - "Couldn't establish a reliable connection". Google play v3.10.14. How do you uninstall google play app?
Have you tried clearing the cache of google play services and google play in the application mananger ?
R: [Q] Play Store Problem : No Connection. How to fix!?
Dude first link on google http://forum.xda-developers.com/showthread.php?t=2110225
Sent from my GT-I9300 using xda app-developers app
AW: [Q] Play Store Problem : No Connection. How to fix!?
If nothing works, root phone, install Terminal and type in:
busybox ifconfig wifi0 mtu 1492
Click to expand...
Click to collapse
Greetings...
Sent from my GT-I9300 using xda app-developers app
Fix for me found
Fixed the problem myself. It seems that I had adfree open which blocks host file. When I reverted, I could sign in again.
Thanks Muchly! Didnt think about the ad block.
found a better solution the problem
Mr. Dude's S3 said:
The Play Store displays no connection even with wifi. Already tried wiping dalvik cache, cache partition. Also triecommander losing and clearing data from Google Play Services, Play Store, Google Service Framework. Help!!
Click to expand...
Click to collapse
found a better solution that worked for me without doing a factory reset or device wipe. just delete the hosts file in root/etc/, by using (total commander) app.then reboot ur device and run play store and enjoy. Make a copy of the "hosts" file just incase .
I hope it works for u guys , cuz it's really frustrating error.
Try clearing data from google play app and reboot ?
Sent from my GT-I9300 using xda premium
Clearing data should work
go to app maager and search google frame work
clear cash and data
disable it
restart
the go back to app manager scroll downwards end of list
then renableand retry
harith88 said:
found a better solution that worked for me without doing a factory reset or device wipe. just delete the hosts file in root/etc/, by using (total commander) app.then reboot ur device and run play store and enjoy. Make a copy of the "hosts" file just incase .
I hope it works for u guys , cuz it's really frustrating error.
Click to expand...
Click to collapse
Deleting the hosts file and rebooting worked for me too. Thank you! :good:
AdFree
When using a rooted phone and you used Freedom for free in-game purchases, and as a result your play store won't connect, it's due the host file as stated in previous comments by others. To get rid of this problem, simply revert your host file and download the new host (both in the adfree app). This should fix the problem, hope it helps
Wrong Gapps version
After trying all solutions posted in this thread, I realized that the whole problem was that I had flash the wrong version of the Google Apps for the android version.
You can find which is the right one for your CM in the CyanogenMod Wiki. Sorry, I can't add the link now, it is my first link.
Fixed mine by realizing that somehow my system date and time were wrong.
harith88 said:
found a better solution that worked for me without doing a factory reset or device wipe. just delete the hosts file in root/etc/, by using (total commander) app.then reboot ur device and run play store and enjoy. Make a copy of the "hosts" file just incase .
I hope it works for u guys , cuz it's really frustrating error.
Click to expand...
Click to collapse
U do not nid to reboot. Experience: I got banned by google alot of times. XD Hacking shhh
Sent from my GT-I9300 using xda app-developers app
davidbessler said:
Fixed mine by realizing that somehow my system date and time were wrong.
Click to expand...
Click to collapse
Woohoo! That was it for me. This is on my old phone that I let sit for 6 months. Charged it up but couldn't access the Play Store to update apps. Turns out the Date was 1/1/2005. Gave it today's date and it connected right up.
Try out Market fix by LDB
***Play Store Fixer***
You have some Problems with Google Play Store?
Fix Problem easy and fast.
Lost Connection from Play Store?
No matter how many times you try, still can fix it up?
Try Play Store Fixer!
Root & No root supported
Download -MediaFire
100% Working!!
VIDEO TUTORIAL

[Q] How can I restore to original Google Play Store?

Hello,
So I've downloaded the black themed play store, was so excited when I flashed it. But now I want the original play store back! I have a back up of the original play store but once I install it, the app wont be installed because its a different signature..Any Suggestions?
Try removing the Play Store apk you have installed (with titanium or something like that) then install your backup apk.
I deleted my original playstore. How to restore it.
CreepyDroid said:
Try removing the Play Store apk you have installed (with titanium or something like that) then install your backup apk.
Click to expand...
Click to collapse
Hi, a few days back, i deleted my backed up playstore. How could I restore the orignal playstore. I mean, the first version which would automatically update itself later on. Could anybody attach the oldest version here ?
apurva.giri said:
Hi, a few days back, i deleted my backed up playstore. How could I restore the orignal playstore. I mean, the first version which would automatically update itself later on. Could anybody attach the oldest version here ?
Click to expand...
Click to collapse
Try going to settings, app manager, all, google play store, uninstall updates
Hope that helped
I guess i didnt mention it correctly. I installed the latest market apk n pushed it as system app. So, since the base apk is the new one, thr wont b any option to uninstall updates. But I need that thing, so could anybody upload the version of the market that comes up with note2 stock. Without updates.
Sent from my GT-N7100 using xda premium
apurva.giri said:
I guess i didnt mention it correctly. I installed the latest market apk n pushed it as system app. So, since the base apk is the new one, thr wont b any option to uninstall updates. But I need that thing, so could anybody upload the version of the market that comes up with note2 stock. Without updates.
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
have you fixed it already?
I have this exact problem
Lexurius said:
have you fixed it already?
Click to expand...
Click to collapse
I still have that problem, however i have deleted the "cracked app" and replaced it with the original PlayStore. Is it possible to get the original play store back (the play store that updates itself.)
NurKhan95 said:
I still have that problem, however i have deleted the "cracked app" and replaced it with the original PlayStore. Is it possible to get the original play store back (the play store that updates itself.)
Click to expand...
Click to collapse
www54. zippyshare. com/v/3053224/file.html
Download this apk and install. Then open and choose third option. Click Install. Your phone will reboot. This will fix your issue.
AHOME said:
www54. zippyshare. com/v/3053224/file.html
Download this apk and install. Then open and choose third option. Click Install. Your phone will reboot. This will fix your issue.
Click to expand...
Click to collapse
Thanks for your help. Have you tried it yourself? And does it auto update

Eclipse rom with safestrap.

Installed 2 days ago, I lost safestrap and the ability to reinstall my apps as well as, SD card reads 30 GB remaining of 64 yet I have no access to my SD card.
The only apps I have are preinstalled eclipse apps.
I get an error 110 every time I try to install anything whether from the play store or not.
Please help Clash of Clans misses me.
; - )
wmsforties said:
Installed 2 days ago, I lost safestrap and the ability to reinstall my apps as well as, SD card reads 30 GB remaining of 64 yet I have no access to my SD card.
The only apps I have are preinstalled eclipse apps.
I get an error 110 every time I try to install anything whether from the play store or not.
Please help Clash of Clans misses me.
; - )
Click to expand...
Click to collapse
Did you install the Safestrap .apk after you did the ROM then run the "install recovery" from within Safestrap after you did your ROM?
douger1957 said:
Did you install the Safestrap .apk after you did the ROM then run the "install recovery" from within Safestrap after you did your ROM?
Click to expand...
Click to collapse
When I try to install safestrap I get an error 110.
I believe I just ran the ROMwwithout flashing anything else.
I should have stuck with hyperdrive.
I can use my phone and internet but the play store is out of commission for me.
I've wiped and deleted and force closed about everything related to downloading an apk.
wmsforties said:
I should have stuck with hyperdrive.
I can use my phone and internet but the play store is out of commission for me.
I've wiped and deleted and force closed about everything related to downloading an apk.
Click to expand...
Click to collapse
It sounds like it'd be best if you ODIN'd back to stock and started over.
If nothing else works try the dreaded Odin route
Sent from my Beastly powered S4 using Tapatalk
Any links you could put me on for the Galaxy S4 ?
Also why is Odin dreaded?
Don't need to odin. Just simply download the apk, copy it from your SD card and paste it in your system/app folder. Once pasted, change permission to -rw -r -r. Now you'll see it in your app drawer.
Off-topic: There's something wrong with the default containers services on that rom. Everyone thinks it's a Google Play store error, nobody even bothered checking the logcat to see why...lol...I haven't gotten around to trying to fix it yet.
Sent from my SCH-I545 using xda app-developers app
Thanks for the new hope gentlemen.
This is my first Samsung device.
The terminology is... different.
Every time I download it will not install though.
wmsforties said:
Every time I download it will not install though.
Click to expand...
Click to collapse
You're not trying to install it automatically. You're installing it manually by playing it into your app folder and changing permissions. Read my post and follow it and you will be golden, the concept is the same for all android devices
Eclipse comes with a file manager included.
Sent from my SCH-I545 using xda app-developers app
Np hope u get it str8en out
Sent from my Beastly powered S4 using Tapatalk
richii0207 said:
You're not trying to install it automatically. You're installing it manually by playing it into your app folder and changing permissions. Read my post and follow it and you will be golden, the concept is the same for all android devices
Eclipse comes with a file manager included.
Sent from my SCH-I545 using xda app-developers app
Click to expand...
Click to collapse
I cannot find the system/app folder.
Open ur root browser and go into device/system/apps. I use es file explore.
Sent from my Beastly powered S4 using Tapatalk
wmsforties said:
I cannot find the system/app folder.
Click to expand...
Click to collapse
I think I may have found it.
SD card I just found by searching that bookmark label.
richii0207 said:
Don't need to odin. Just simply download the apk, copy it from your SD card and paste it in your system/app folder. Once pasted, change permission to -rw -r -r. Now you'll see it in your app drawer.
Off-topic: There's something wrong with the default containers services on that rom. Everyone thinks it's a Google Play store error, nobody even bothered checking the logcat to see why...lol...I haven't gotten around to trying to fix it yet.
Sent from my SCH-I545 using xda app-developers app
Click to expand...
Click to collapse
I managed to get safestrap to appear by following your instructions but it force closes immediately and I still can download nothing from Google play. Exact same error messages.
wmsforties said:
I managed to get safestrap to appear by following your instructions but it force closes immediately and I still can download nothing from Google play. Exact same error messages.
Click to expand...
Click to collapse
Did you change permissions correctly? It will not fc if changed correctly
Sent from my SCH-I545 using xda app-developers app
richii0207 said:
Did you change permissions correctly? It will not fc if changed correctly
Sent from my SCH-I545 using xda app-developers app
Click to expand...
Click to collapse
I changed it to rw rr.
wmsforties said:
I changed it to rw rr.
Click to expand...
Click to collapse
The permissions should be be the same as every other apk in the folder. Try that and let me know how that goes. It's inside the system/app folder?
Sent from my SCH-I545 using xda app-developers app

Categories

Resources