Every time I download an application from Market I get an error saying " Package file is invalid." Then I can't download the app. Anyone know how to fix this?
This sometimes happens, and it doesn't matter what rom you are using.
you can first try to Go into Settings > Applications > Manage Applications > Market/Play store > delete the cache and data.
If this does not work, redo the steps above but right after reboot into recovery. Format/clear the cache partition, and in Advance options menu, Clear the Dalvik cache. Reboot, and try the market again.
If this doesn't work... you're just gonna have to reflash the system. Don't worry, you SHOULD be able to get away with this by Going into recovery, WITHOUT WIPING, reflash the same rom, and again format/clear the Cache partition, and in the Advance menu options, delete the Dalvik Cache. reboot again.
If you followed all the steps, even to a complete reflash of everything... that means factory reset+reflash of the rom, there should be no reason it doesn't :/
Can you tell us specifically which rom(build) you are using?
Device(s): LG Motion 4G----
LG Optimus M----------------
LG Optimus V on U Firmware
LG Optimus S
Carrier: MetroPCS
Thanks: 1,687
Thanked 1,645 Times in 1,140 Posts
This is what I accidentally posted in bobz cm7 thread instead of this one:
Quote:
Originally Posted by BobZhome
Try moving and/or deleting the 01mvdalvik file out of init.d, located here: /system/etc/init.d/01mvdalvik, clear market cache and data, reboot recovery, wipe cache/dalvik_cache, reboot.
This is to fix market^ use "es file explorer" or "root explorer" this goes for ALL roms
Thank BobZhome, not me.....
The Following 2 Users Say Thank You to sammyz For This Useful Post:
Thanks sammyz! I had already deleted google play data and then wiped cache and dalvik cache in recover after backup completed. I did not go back to remove the file but downloading apps is working again! I will go back to delete the 01mvdalviknow.
Device(s): LG Motion 4G----
LG Optimus M----------------
LG Optimus V on U Firmware
LG Optimus S
Carrier: MetroPCS
Thanks: 1,687
Thanked 1,645 Times in 1,140 Posts
Quote:
Originally Posted by DBNissan
Thanks sammyz! I had already deleted google play data and then wiped cache and dalvik cache in recover after backup completed. I did not go back to remove the file but downloading apps is working again! I will go back to delete the 01mvdalviknow.
Yea the fix to this particular error applies to all roms, any other error is usually fixed by just force closing it or rebooting it.
Device(s): LG Motion 4G----
LG Optimus M----------------
LG Optimus V on U Firmware
LG Optimus S
Carrier: MetroPCS
Thanks: 1,687
Thanked 1,645 Times in 1,140 Posts
Quote:
Originally Posted by DBNissan
Still won't let me delete or move 01mvdalvik but I am still able to download apps. I guess I'll just wipe cache and dalvik cache if it happens again.
Thanks again sammyz
Make sure you have root privileges....use a root explorer, go through the settings (of the app) and make sure everything that needs to be checked is checked
Last edited by sammyz; April 15th, 2012 at 04:03 PM.
Hi, Im new to this forum. About file invalid error on playstore... I faced the same problem before. So I jzt experiment something new and it worked. Just go to the access point names and see if there is an option to edit data access point settings. Then see if your connection is proxy enabled. If enabled, write down the proxy address for future referance. Then erace the proxy address and save settings. Now go to play store and see if it works! Worked for me... Itz easy and give it a try if you are going to do more advanced thing like FLASHING THE ROM... Blessings... AND OMG THIS IS MY FIRST REPLY IN FORUM.... ;-)
Make sure you have root privileges....use a root explorer, go through the settings (of the app) and make sure everything that needs to be checked is checked
i cant download and install applications from the playstore,
can i ask some help ? its important,please help >>>
Thanks.
Finally download MarketFix in Market and it works for me. did clear date stuff in recovery mode not working for me also and can't move/delete 01mvdalvik file either.
sorry, i spoke too soon. MarketFix don't work. grant superuser, move 01mvdalvik to sd. (it said moved to sd, but it's not doing it.) download an app and it said install successfully the first time, but the app is no where to found in phone, try reboot, app not there either. redo and now said package invalid again.
Delete 01dalvikvm with root explorer. Don't move it to sdcard. Clear data and cache from Google play. And delete cache and dalvik in recovery this worked for me.
Device(s): G2-CM10(JB),SGS3 OmegaV31(JB), LG Optimus M CM7.2 Fully Ics Themed
Carrier: Not Provided
Thanks: 65
Thanked 39 Times in 37 Posts
Location of 01dalvik
You would have to go to /etc/init.d to find the 01dalvik, once found delete it. then go to manage applications and Erase the cache/data from the Google Play/Android Market app. Then reboot into recovery and wipe dalvik cacheTHENwipe cache. It will take a while for the phone to boot up again. So be Patient.
Also. I've noticed roms like backside don't have that file... So there shouldnt be a invalid error if you are using that rom.
Last edited by BrandonOptimus; August 23rd, 2012 at 09:12 AM.
The 01mvdalvik or 01dalvik also may not be in /system/etc/init.d if you're running darktremor / Link2SD / s2e for a sd-ext partition on your SD card. On s2e, there's an option to either place it on the sd-ext or internal memory. Link2SD lets you choose where to put the dalvik files for each app individually. I'm not sure about darktremor since I havn't used it. Either way, when running a sd-ext script, don't even try looking for the dalvik file. Just wipe cache and dalvik and it should be ok.
O.k, finally deleted 01mvdalvik. Now new problem, getting the same "Package file is invalid." for any app that's larger than 6 mb I think. any fix to this?? thx
Device(s): LG Motion 4G----
LG Optimus M----------------
LG Optimus V on U Firmware
LG Optimus S
Carrier: MetroPCS
Thanks: 1,687
Thanked 1,645 Times in 1,140 Posts
Quote:
Originally Posted by zsw128
O.k, finally deleted 01mvdalvik. Now new problem, getting the same "Package file is invalid." for any app that's larger than 6 mb I think. any fix to this?? thx
clean caches of play store, clear data, reboot into recovery, wipe cache and dalvik-cache
wipe cache partition and in advanced wipe Dalvik Cache, but still the same "package file is invalid". I try 4 mb app this time, it's not working. I am using CM 7.2.0 RC1 dated March 24, 2012.
Just fixed the same problem 'package file is invalid'. I couldnt download an app over 9mb in size. Called samsung and they hadnt a clue how to fix it they just told me to restore device to factory settings. I stupidly done this but it didnt fix it
Called my network provider, they helped me change a couple of network settings, delete play store data and cache n restored default settings and now its working fine.
This is what I accidentally posted in bobz cm7 thread instead of this one:
Quote:
Try moving and/or deleting the 01mvdalvik file out of init.d, located here: /system/etc/init.d/01mvdalvik, clear market cache and data, reboot recovery, wipe cache/dalvik_cache, reboot.
This is to fix market^ use "es file explorer" or "root explorer" this goes for ALL roms
Thank BobZhome, not me.....
Hi there,
I'm having the same problem too, and I tried the thing sammyz said, but there is no such file in my phone. I used Root Explorer, go into the /system/etc folder, but there was no such folder as init.d. There were just init.goldfish.sh and init.qcom.bt.sh and such.
I'm using a LG-E405 phone with Android 2.3.5, if that helps.
Anyone giving me a hand? I'm exhausted finding compatible .apk files on websites and plug my phone in and put those files in the sd card and setting them up. It just takes too much time. I want to use Google Play T______T
Edit: I aslo tried clearing the cache, data,... even rebooting my phone many times, but nothing worked. I've just bought my phone, and I still couldn't download anything from Google Play yet.
Last edited by mbk1994; October 22nd, 2012 at 10:08 PM.
i have never had this problem. but i might try uninstalling market updates then connecting. it will update and maybe fix.just an idea i just got an optimus but dont use it much yet. but have the forum inmy favorites. connect through browser. i dont know just adifferent angle maybe manually remove market , data a n .dex renstllall playstore then let it update?
__________________
Want fights or tutorials? All Leagues and styles.Pm me.
#### SENT FROM MY SHOE PHONE ####
Last edited by rhino889a; October 24th, 2012 at 04:40 PM.
Hi, Im new to this forum. About file invalid error on playstore... I faced the same problem before. So I jzt experiment something new and it worked. Just go to the access point names and see if there is an option to edit data access point settings. Then see if your connection is proxy enabled. If enabled, write down the proxy address for future referance. Then erace the proxy address and save settings. Now go to play store and see if it works! Worked for me... Itz easy and give it a try if you are going to do more advanced thing like FLASHING THE ROM... Blessings... AND OMG THIS IS MY FIRST REPLY IN FORUM.... ;-)
You are the MAN, it worked for me ... Thanks a lot Bro...... I had been suffering a lot because of this damn error message.... Thanks again..............
I'm having the same problem too, and I tried the thing sammyz said, but there is no such file in my phone. I used Root Explorer, go into the /system/etc folder, but there was no such folder as init.d. There were just init.goldfish.sh and init.qcom.bt.sh and such.
I'm using a LG-E405 phone with Android 2.3.5, if that helps.
Anyone giving me a hand? I'm exhausted finding compatible .apk files on websites and plug my phone in and put those files in the sd card and setting them up. It just takes too much time. I want to use Google Play T______T
Edit: I aslo tried clearing the cache, data,... even rebooting my phone many times, but nothing worked. I've just bought my phone, and I still couldn't download anything from Google Play yet.
i used the search method on my rugby pro found /system/bin/dalvikvm so is this the file i need to delete? Also im really new at all this never rooted anything but for me to root my phone it says i need to use ODIN v3.04. I do not know anything about ODIN but i assume i would rather have 4.0.4 that came on my phone. After rooting is it possible to go back to the 4.0.4? Also is it necessary to do all of this? I haven't even seen another rugby pro have this problem in the forums. Any kind of help would be greatly appreciated
Device(s): Nexus 4
LG Esteem ROM #2.5.4
x2 LG, Optimus M CM7,
DroidX - Stock & Rooted
Carrier: T-Mobile
Thanks: 102
Thanked 93 Times in 69 Posts
Okay, I've had this issue off and on for several weeks. This past week, it's been ON and nothing, and I mean none of the prescriptions I found worked.
FINALLY I tried one more self prescribed pill.
In Titanium Backup I first thought I could freeze the app and try installing as if it were new. That didn't work because the Play Store still sees that app but as disabled.
Still in TiBu, I did a Backup>Verify>Uninstall, went to Play and VOILA!! I was able to download again without the error.
__________________
Level 3 IT
Master of all things Windows, Linux, Unix