ERROR - Package file is invalid - Nexus 4 Q&A, Help & Troubleshooting

I keep getting this error no matter what I have done to the phone (root, unroot, lock and unlock boot-loader, cleared play store cache, re-installed play store, cleared phone cache using adb, etc etc) it has become a nightmare! I have read about others in other forums, but none in the Nexus 4. If anyone could help me to correct this error I would be much obliged! Also would love to give a shout out to all the exceptional devs on this site, I have been trolling for about 4 yrs now and I cannot believe the time and effort they put into their baby! THANKS XDA
Side note: The phone is stock/unrooted and bootloader is also locked running stock ROM

dormankenneth said:
I keep getting this error no matter what I have done to the phone (root, unroot, lock and unlock boot-loader, cleared play store cache, re-installed play store, cleared phone cache using adb, etc etc) it has become a nightmare! I have read about others in other forums, but none in the Nexus 4. If anyone could help me to correct this error I would be much obliged! Also would love to give a shout out to all the exceptional devs on this site, I have been trolling for about 4 yrs now and I cannot believe the time and effort they put into their baby! THANKS XDA
Side note: The phone is stock/unrooted and bootloader is also locked running stock ROM
Click to expand...
Click to collapse
It's a Play Store problem. It has been acting weird lately. It is most likely something Google is working on to fix. You can try clearing cache or data in Google Play Services.
Sent from my Nexus 4 using xda premium

obtained said:
It's a Play Store problem. It has been acting weird lately. It is most likely something Google is working on to fix. You can try clearing cache or data in Google Play Services.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Yes this is confirmed, this error is caused by play store being upgraded and is technically impossible to fix. This was passed on to me by a level 2 tech at Tmobile. Thanks for the reply
To date 5:29 pm CST it is still buggy

Related

[Q] DroidX Froyo market issue

Updated sucessfully to Froyo! Everything runs great.... Except that I can't connect to the market.
I get a time out error/can't connect. Gmail and all other apps have no issues.
I have tried this solution:
http://www.droid-life.com/2010/06/12/tip-market-app-issue-in-froyo/
and, this solution:
http://www.droidforums.net/forum/team-chaos/49974-market-update-fix-froyo-leaked-version-2-a.html
without success. The second one caused a boot loop and I had to re-flash .604 via SBF/RSD.
Anyone have any suggestions or a fix for the DroidX?
Both of those links were for the droid. Im have the same issue though.
Sent from my DROIDX using XDA App
I was aware that they were for the Droid... I was just hoping that they would work for the DX.... although after looking at the build.prop files I now realize that was a REALLY STUPID NOOB error.
I guess I was hoping that the .zip's contained some code that would change a setting and not RR the whole file.
If someone knows what setting needs to be changed please let me know. For now, I'll have to go back to 2.1 if I can't get the market.
I don't think its an X on Froyo issue, Markets not working on my EVO and X
Google server error?
Other Android users(non-Droid X Froyo users) have reported the same issue in another forum. Seems to be a "Google side" error. Probably just maintenance because of all the Froyo releases this month.
Markets back up
Alot of search results not showing up on both of my phones, Google issue
kyrumo71 said:
Markets back up
Alot of search results not showing up on both of my phones, Google issue
Click to expand...
Click to collapse
Cleared cache in Market all is good
I was having the same issue yesterday, but tried it today and all works again. Must have been a Google problem.
Good info bro! I cleared the market data and all fine now. Thanks
Sent from my DROIDX
How do you clear the market cache? I can't seem to find it.
Worked perfect with root explorer. Thx
Sent from my DROIDX using Tapatalk
Market didn't work at first, then it did but with weird apps i never heard of in the Top Paid, then a few hours later almost all my previously installed apps showed up, then the market seemed normal expect for like 10 apps that i can live without for now wont show up.
It was a market issue. Market works great now!
Sent from my DROIDX using XDA App

Play Store

My market just changed to the play store. It FCs before I can accept the terms.
I'm on GalaxyTask 14. In fact I just went to GT14 so I tried wiping clean and I still get the FC on the store. Anyone else?
Same here ... I'm sure Task (on his thread) will tell us what to do once his Market also upgrades to Play...
glad to hear I'm not alone - sorry but misery loves company.
I didn't want to start off bothering Task in case it wasn't ROM related
Task 14 here and I get the same. Sucks because I need to redownload Touchdown tonight for a trip tomorrow afternoon. Hope there's a fix before then or else I'll have to find my corporate Palm Pre (gasp).
My market...eh, Play Store forceclosed and the icon is gone. Task 14 as well.
Sent from my GT-P7510 using xda premium
I had the same error with the fc... This fixed it for me. I went to settings> applications> manager applications> all. Found the new google play app & wiped everything I could, such as clear cache, clear data, then did a force stop, and finally an uninstall. After this I clicked my normal app store icon it told me it was being changed to google play again, so I figured I was in for more fcs. but went ahead and agreed. Everything was fine after no more fcs.
I noticed another file updated itself too, but can't remember the name it was some market file though.
Try this and see if it works for you or if I just got lucky.
In double checking on my memory of what I did so I could be precise here I noticed the google play application is now gone. but the market is updated and no fcs.
EDIT: Just noticed it may have only been called the play store app that I uninstalled. not google play app.
Sent from my GT-P7510 using XDA Premium HD app
Worked for me, thanks! I cleared data from the Play Store app and all is well.
Sent from my GT-P7510 using xda premium
Joe T said:
Worked for me, thanks! I cleared data from the Play Store app and all is well.
Sent from my GT-P7510 using xda premium
Click to expand...
Click to collapse
Great to hear.
Sent from my GT-P7510 using XDA Premium HD app
Thanks benzoman, worked for me. clearing data on Google Play did the trick.
Worked for me too !!! thanks Benzoman !!
twa_priv said:
Same here ... I'm sure Task (on his thread) will tell us what to do once his Market also upgrades to Play...
Click to expand...
Click to collapse
Hmm i must be lucky working ok on mime
Sent from my GT-P7510 using Tapatalk
animatechnica said:
Hmm i must be lucky working ok on mime
Sent from my GT-P7510 using Tapatalk
Click to expand...
Click to collapse
Do you actually have an icon for it that works?
Edit: nevermind... I'm sure you do. While the forum was in maintenance I found a way to keep the new google play store and still not have the fc's
So although if you want a quick fix you can uninstall as I instructed before, or just wait until I get up a quick guide to keep the play store without the fc's.
I'm hoping someone will beat me to it though.
Edit 2: Sometimes I make more work for myself by posting quick fixes before thoroughly making sure it's the best fix and this is one of them if you want to keep the google play store and still stop the fc's.
Final Edit: If you are having issues with the play store and haven't uninstalled it yet you should just have to force close it, clear data and run it again and it should start without the FC's.
If you have uninstalled it like I suggested in the previous post and want it back or if you don't have it and want it quicker this quote I swiped from somewhere while googling should help... "If you want to speed up the update process, the usual trick involving force-closing Market, clearing data, uninstalling updates and then loading up the app again seems to work." then wait for the update. It updated so fast for me that I had a hard time testing this fix and had to disable my wifi to confirm uninstallation although YMMV especially if you're trying to get it for the first time. You may want to make sure your device is on the list of supported devices at http://support.google.com/googleplay/bin/answer.py?hl=en&answer=190860 before trying this a waiting for something that may never come.
This may cause the FC's that started me on this issue to happen again and you'll need to force close it, clear the data and run it again, as stated above in this final edit.
I've already checked this at least twice, but just in case, I'm going to make sure everything works as I say so stay tuned for a few minutes until I post a final edit 2 just in case I'm missing anything.
Final Edit 2: Seems everything works as stated. I couldn't even mess it completely up when I tried.
I think the name is stupid as [email protected], but it's the new app store so what can we do? Seemed like it is really fast and they are having some great sales on apps and a little music, so maybe it's worth putting up with the stupid new name.
If I've caused you needless hassle feel free to call me names and cuss at me. I should have thought of the short way to fix the FC's before sugesting the uninstall. My bad.
Let me know if you have any issues still and I'll help where I can.
If you made it this far in the post congratulations, and thanks.
Sent from my GT-P7510 using XDA Premium HD app
thanks for simple fix to market f/c
kavansky said:
thanks for simple fix to market f/c
Click to expand...
Click to collapse
Would have been really simple had I just said go into settings, applications, manage applications and clear data for the play store. Which fixes the fc's.
Thanks for the thanks though
Sent from my GT-P7510 using XDA Premium HD app
This must be a HC 3.2 only issue.. I had the problem on Task 14 and it was easily fixed but flashed back to AOKP b27 last night and the market updated with no issues at all...
Probably... Everyone I've noticed I said they were Task 14 except one who was still on Task 10 or something and asked task for help. I'm sure you know how that reply went.
"If you want to speed up the update process, the usual trick involving force-closing Market, clearing data, uninstalling updates and then loading up the app again seems to work." then wait for the update. This should only take a minute or two if you had it to begin with and you can trust it's official this way.
Sent from my GT-P7510 using XDA Premium HD app
If like me you deleted it just download it from:
http://hotfile.com/dl/149080043/c8d34ef/com.android.vending.apk.html
And run it from file explorer
Blackwidowman said:
If like me you deleted it just download it from:
http://hotfile.com/dl/149080043/c8d34ef/com.android.vending.apk.html
And run it from file explorer
Click to expand...
Click to collapse
I wouldn't run any app downloaded from hotfile, not knowing where it ultimately came from. Too much of a chance it's been modded to steal who knows what. Especially a market app :what:
"If you want to speed up the update process, the usual trick involving force-closing Market, clearing data, uninstalling updates and then loading up the app again seems to work." then wait for the update. This only takes a minute or two if you had it to begin with and can be assured it's official.
Sent from my GT-P7510 using XDA Premium HD app
Good to know, I have yet to encounter any problems with hotfile but you never know. Your trick didn't work for me it would not update so I went the other way.
EDIT: info came from http://androidadvices.com/download-google-play-store-v346-tutorial/
actually this must be because i updated it on my galaxy nexus phone first - to update that i had to clear data on the market and then launch market and after i accepted the terms it updated itself. I then applied the same to my tab so did not see the issues others have experienced
Benzoman said:
Do you actually have an icon for it that works?
Edit: nevermind... I'm sure you do. While the forum was in maintenance I found a way to keep the new google play store and still not have the fc's
So although if you want a quick fix you can uninstall as I instructed before, or just wait until I get up a quick guide to keep the play store without the fc's.
I'm hoping someone will beat me to it though.
Edit 2: Sometimes I make more work for myself by posting quick fixes before thoroughly making sure it's the best fix and this is one of them if you want to keep the google play store and still stop the fc's.
Final Edit: If you are having issues with the play store and haven't uninstalled it yet you should just have to force close it, clear data and run it again and it should start without the FC's.
If you have uninstalled it like I suggested in the previous post and want it back or if you don't have it and want it quicker this quote I swiped from somewhere while googling should help... "If you want to speed up the update process, the usual trick involving force-closing Market, clearing data, uninstalling updates and then loading up the app again seems to work." then wait for the update. It updated so fast for me that I had a hard time testing this fix and had to disable my wifi to confirm uninstallation although YMMV especially if you're trying to get it for the first time. You may want to make sure your device is on the list of supported devices at http://support.google.com/googleplay/bin/answer.py?hl=en&answer=190860 before trying this a waiting for something that may never come.
This may cause the FC's that started me on this issue to happen again and you'll need to force close it, clear the data and run it again, as stated above in this final edit.
I've already checked this at least twice, but just in case, I'm going to make sure everything works as I say so stay tuned for a few minutes until I post a final edit 2 just in case I'm missing anything.
Final Edit 2: Seems everything works as stated. I couldn't even mess it completely up when I tried.
I think the name is stupid as [email protected], but it's the new app store so what can we do? Seemed like it is really fast and they are having some great sales on apps and a little music, so maybe it's worth putting up with the stupid new name.
If I've caused you needless hassle feel free to call me names and cuss at me. I should have thought of the short way to fix the FC's before sugesting the uninstall. My bad.
Let me know if you have any issues still and I'll help where I can.
If you made it this far in the post congratulations, and thanks.
Sent from my GT-P7510 using XDA Premium HD app
Click to expand...
Click to collapse

After Dexter Mod, Google Play doesn't allow purchase

Just completed the Dexter Mod to allow Google Play on my A7.
All appears working fine, except that Google play will not allow me to purchase any apps. I get an Error ("An error occurred, please try again"), everytime I touch the price button on any app or music.
I've rebooted the device without clearing the issue.
Any ideas?
Oh yeah, this device is not on Googles list of supported devices.
Thanks
Update - Still no joy. Free aps download, but cannot buy
I decided to try to re-do the mod.
I first went to Google and deleted all my accounts.
I did the Dexter mod again from scratch and set up a new Google Acct after the reboot.
Going to Google Play updated the Android Marketplace to Play Store on the tablet.
Using Google Play I still cannot buy an app, but I can download a free one. There are only two apps listed anyway. Missle Command which I cannot buy for $0.99 and 8Track, a music app which is free and downloaded fine.
The first time I did this there were a bizillion apps available, although I could get to none of them.
Any ideas here?
***** Another Update: I discovered I can buy apps using Play Store through my PC for the A7 which upload fine, but still not directly thru the A7
Another Update: Success
Seems like after waiting a while and not using the tablet's Play Store, when finally returning, I have a full list of games and apps.
I also just successfully downloaded a free game (Angry Birds Space) directly from the A7.
This is good news!
I had read elsewhere that on another tablet (Samsung, I believe), ignoring the Play Store app on the tablet for a while would eventually alloe it to work properly.
Seems like that's the case here.
Wow, quiet group here! Lots of views on both of my current threads and not a single comment. I know everyone was just waiting for me to figure it out myself ;<)
Dexter has more than a dozen Mods for at least 3 OS on at least 6 platforms. Probably that is the reason that no one replied ??
Dan
rockethead26 said:
Wow, quiet group here! Lots of views on both of my current threads and not a single comment. I know everyone was just waiting for me to figure it out myself ;<)
Click to expand...
Click to collapse
I haven't been in this forum in a while just pop in once in a while, might find better help for the a7 at tabketroms.com, but any ways have you tried clearing the cache and data of the google play store in your settings?
Thanks for the recommendation on the other site. Everything works fine, but the device is listed as not supported by a great majority of the apps. It's kind of a worthless tablet, at least it was free.
rockethead26 said:
Thanks for the recommendation on the other site. Everything works fine, but the device is listed as not supported by a great majority of the apps. It's kind of a worthless tablet, at least it was free.
Click to expand...
Click to collapse
I been using the cm7 which uses a modified build.prop for the xoom, or you could easily find a modified market here on xda
Sent from my EVO using XDA Premium HD app
smallba said:
I been using the cm7 which uses a modified build.prop for the xoom, or you could easily find a modified market here on xda
Sent from my EVO using XDA Premium HD app
Click to expand...
Click to collapse
Thanks for the suggestion. I think I'll just let this one die a quiet death.

[Q] No OTA? 4.2.2 Question

Hey Guys!
I'm from the UK and I own a completely stock, unmodified Nexus 4 and every time I check for an update, I am still 'up to date' on 4.2.1.
I have already tried the frameworks cache empty and force stop thing. It stopped all my push notifications up and destroyed my Google Account link to my phone (couldn't see it on Google Play Weblink...etc). Alas, I spent 1 hour fixing it (no phone reset, YAY!) and am in no way prepared to ever do that method again...ever! haha
Anyway my question to you is....should I worry that I haven't got the OTA yet? It's come through for a lot of people on XDA forums and after owning an Apple Device for a couple of years and being used to the instant update, I am slightly concerned....
Your thoughts and wisdom is much appreciated!
Thanks
- Luke
It can take a few days, don't stress too much just yet!
Sent from my Nexus 4 using xda app-developers app
chrisrozon said:
It can take a few days, don't stress too much just yet!
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
haha thank you!
I've been stressing out (like...seriously) all night about the push + google issues after using the framework short-cut. I think everything is working same as normal now! (reconnect google account, clear cache for play store framework and play services, clear app data for all apps). I nearly died when I found out what happened!
usually OTA is released country by country
Disable location and then clear framework followed by disable and enable framework.
Now check for update.
ultimul said:
usually OTA is released country by country
Click to expand...
Click to collapse
Not on a nexus device it isn't. But it is rolled out in batches.
Sent from my Nexus 4 using Tapatalk 2
It took me 3 consecutive tries clearing framework data and force stopping it before it work... Did you do it several times in a row?
capcanuck said:
It took me 3 consecutive tries clearing framework data and force stopping it before it work... Did you do it several times in a row?
Click to expand...
Click to collapse
I did it about 6/7 times but to no avail . And it screwed up my software (push notifications...etc) so I wouldn't like to try that again! I was just concerned because I haven't received it about 2/3 days after the update was released.
iluk3 said:
I did it about 6/7 times but to no avail . And it screwed up my software (push notifications...etc) so I wouldn't like to try that again! I was just concerned because I haven't received it about 2/3 days after the update was released.
Click to expand...
Click to collapse
Don't force stop just clear the data and check for updates.
But yeah my sync stuff got messed up afterwards as well ... so I wouldn't recommend it unless you really need the update asap.
Just wait... there is literally nothing in 4.2.2 to get excited about.
roll'n roll'n roll'n
iluk3 said:
Hey Guys!
I'm from the UK and I own a completely stock, unmodified Nexus 4 and every time I check for an update, I am still 'up to date' on 4.2.1.
I have already tried the frameworks cache empty and force stop thing. It stopped all my push notifications up and destroyed my Google Account link to my phone (couldn't see it on Google Play Weblink...etc). Alas, I spent 1 hour fixing it (no phone reset, YAY!) and am in no way prepared to ever do that method again...ever! haha
Anyway my question to you is....should I worry that I haven't got the OTA yet? It's come through for a lot of people on XDA forums and after owning an Apple Device for a couple of years and being used to the instant update, I am slightly concerned....
Your thoughts and wisdom is much appreciated!
Thanks
- Luke
Click to expand...
Click to collapse
I check every time someone makes a new post about the ota 4.2.2 being , which isn't very often at all...
I assume it's a measured roll out and it's not my turn yet..
For reference; I'm in the US/ Miami, Florida, considered one of the most important states/ cities in the US. And I could say that in my world I'm the most important person I know, best is that everyone in it knows me and knows this fact. Yet I've had to wait too
OP, if you're still not updated. Do the following:
select settings/apps/ALL/google services framework
DO NOT force-close, just (in this order) clear cache/ delete data/ disable app/ and re-enable app.
don't touch location.
check for update.
EDIT: correction cache 1st, data 2nd.
brummiesteven said:
Just wait... there is literally nothing in 4.2.2 to get excited about.
Click to expand...
Click to collapse
The only change I know of in 4.2.2 that'll make a difference to me is the fact that the WiFi and Bluetooth toggles have been changed from links to the settings to actual toggles.
Nigeldg said:
The only change I know of in 4.2.2 that'll make a difference to me is the fact that the WiFi and Bluetooth toggles have been changed from links to the settings to actual toggles.
Click to expand...
Click to collapse
Also the Wi-Fi connectivity is greatly improved.. That's the big thing for me..
Sent from my Nexus 4 using Tapatalk 2
theabsurdman said:
OP, if you're still not updated. Do the following:
select settings/apps/ALL/google services framework
DO NOT force-close, just (in this order) delete data/ clear cache/ disable app/ and re-enable app.
don't touch location.
check for update.
Click to expand...
Click to collapse
Once you delete data, clear cache button isn't active. Took two tries, on wifi and it showed the update.
Annoying not remembering what app you've renamed, erroring when applying update :/
Nigeldg said:
The only change I know of in 4.2.2 that'll make a difference to me is the fact that the WiFi and Bluetooth toggles have been changed from links to the settings to actual toggles.
Click to expand...
Click to collapse
Ditto. And also the new wireless charging sound :laugh:
Mine took a few days, I'm in the UK too. Was considering sideloading but the update dropped in last night
Sent from my Nexus 4 using xda app-developers app

Warning: Misinformation campaign about update has gone viral.

There has been some talk about getting the update by clearing the data for Google Play Framework.
UPDATE: Now people have been talking about clearing data off Google Play Services.
If you haven't received the update, please follow the directions on this site:
https://developers.google.com/android/ota
If you cleared framework data, you have little choice other than a hard reset.
So far:
Reports of "Find my phone" not working
Reports of not being able to find your phone on the play store
Reports of not being able to remotely wipe your phone
Reports of in-app purchases failing and needing to be reinstalled.
Reports of Gmail not pushing. (Thanks @machostallion)
Please help me to get the word of this out as fast as possible. This seems to be spreading like a bad case of herpes.
Sent from my Pixel 2 XL using Tapatalk
Damn, I actually did that
I'm thinking of just doing a hard reset by rooting my phone and unlocking bootloader to get root (might as well if I haven't gotten the update yet)
Should that fix any damage inmay haven't caused?
Cowbell_Guy said:
Damn, I actually did that
I'm thinking of just doing a hard reset by rooting my phone and unlocking bootloader to get root (might as well if I haven't gotten the update yet)
Should that fix any damage inmay haven't caused?
Click to expand...
Click to collapse
Any form of a hard reset is fine. It helps Google build the data and databases. Once you wipe, those databases go away and things get messed up fast
Sent from my Pixel 2 XL using Tapatalk
Cowbell_Guy said:
Damn, I actually did that
I'm thinking of just doing a hard reset by rooting my phone and unlocking bootloader to get root (might as well if I haven't gotten the update yet)
Should that fix any damage inmay haven't caused?
Click to expand...
Click to collapse
Don't forget to unlock_critical if you want to flash an entire factory image.
Sent from my Pixel 2 XL using Tapatalk
Updated.
Sent from my Pixel 2 XL using Tapatalk
Bumped because it's reared its ugly head again in a new post
Sent from my Pixel 2 XL using Tapatalk
Yeah. I cleared services framework to force the update. All kinds of bad things with various Google syncs going on. I got most of them fixed by uninstalling and reinstalling, wiping caches and data, but can't get Gmail to push. I'm probably just going to do a factory reset to fix this crap.
I support this thread.
See Android Police's story about this and Google Engineer's comments on why it is not a good idea to clear Google Service Framework.
machostallion said:
Yeah. I cleared services framework to force the update. All kinds of bad things with various Google syncs going on. I got most of them fixed by uninstalling and reinstalling, wiping caches and data, but can't get Gmail to push. I'm probably just going to do a factory reset to fix this crap.
Click to expand...
Click to collapse
I added your issue to the original post.
Sent from my Pixel 2 XL using Tapatalk
The first thing I do even before Magisk got the rooting going is to unlock and critical unlock the phone in preparation. Since I'm pretty familiar with adb and fastboot, I'm not that impatient with OTA. Just sideload OTA and be done with it.
Yep I got stung with the clear cache on google services and then it did get me Nov update but nothing was syncing right, so I factory reset phone and am adding stuff back in. Truth is dont believe everything thats on the web and its everywhere at the moment which is why I thought its good to go.

Categories

Resources