1. Ccota08's Avatar
    So, I tried switching to ART and, after rebooting, I started testing all my apps to see how well they run. When I got to Whatsapp, I was getting repeated crashes. I tried uninstalling and reinstalling, but I couldn't reinstall. When I looked it up on the internet, I found that the problem was not with the app itself, but with ART in 4.4 and that the issue had been addressed in the 4.4.1 update, which isn't available for the Moto X yet. So, I tried switching back to Dalvik, but now I still can't reinstall Whatsapp even in Dalvik runtime. Anyone know how to fix this?

    I get an error box when I try to install from the Play Store. "Unknown error code during application install: -24". I tried downloading the apk from the Whatsapp website and sideloading it, but my phone won't install that either.
    12-31-2013 01:12 PM
  2. yfan's Avatar
    This is a known issue. Whatsapp doesn't play nice with ART. You have to go back to Dalvik, reinstall whatsapp, then reactivate ART.
    12-31-2013 01:34 PM
  3. Ccota08's Avatar
    I already switched back to Dalvik and it's not letting me install Whatsapp again.
    12-31-2013 01:38 PM
  4. Ccota08's Avatar
    I found the issue. It seems a leftover shared element from Missed It! was preventing it from installing. After I deleted the shared element, Whatsapp installed just fine.
    12-31-2013 01:46 PM
  5. ONLYuseBB10's Avatar
    can you tell me what you deinstalled?? cause i have the same issue..
    01-01-2014 10:11 PM
  6. Kevin OQuinn's Avatar
    So, I tried switching to ART and, after rebooting, I started testing all my apps to see how well they run. When I got to Whatsapp, I was getting repeated crashes. I tried uninstalling and reinstalling, but I couldn't reinstall. When I looked it up on the internet, I found that the problem was not with the app itself, but with ART in 4.4 and that the issue had been addressed in the 4.4.1 update, which isn't available for the Moto X yet. So, I tried switching back to Dalvik, but now I still can't reinstall Whatsapp even in Dalvik runtime. Anyone know how to fix this?

    I get an error box when I try to install from the Play Store. "Unknown error code during application install: -24". I tried downloading the apk from the Whatsapp website and sideloading it, but my phone won't install that either.
    This is a known issue. Whatsapp doesn't play nice with ART. You have to go back to Dalvik, reinstall whatsapp, then reactivate ART.
    WhatsApp and ART play together just fine on the Nexus 5 with 4.4.2. Whatever the issue is has been fixed.
    01-01-2014 11:56 PM
  7. Ccota08's Avatar
    can you tell me what you deinstalled?? cause i have the same issue..
    If you have Missed It! installed for unread notifications and you had set up a shared element for Whatsapp, Missed It! won't delete that shared element. That seems to block the reinstallation of Whatsapp even after you switch to Dalvik. You have to delete the shared element manually.

    If you don't have Missed It! installed, then I don't know what it is.
    01-02-2014 10:23 AM
  8. ONLYuseBB10's Avatar
    If you have Missed It! installed for unread notifications and you had set up a shared element for Whatsapp, Missed It! won't delete that shared element. That seems to block the reinstallation of Whatsapp even after you switch to Dalvik. You have to delete the shared element manually.

    If you don't have Missed It! installed, then I don't know what it is.
    i don't have missed it! installed.. should be something else blocking it :/
    01-02-2014 10:36 AM
  9. Ccota08's Avatar
    i don't have missed it! installed.. should be something else blocking it :/
    After doing a quick Google search for "Google Play Store error code 24," I came across this post in another thread:
    I had the same problem installing whatsapp. I tried removing the app entry from data/data/com.whatsapp. It worked! Try out
    Cheers!!
    Try giving that a shot.
    01-02-2014 10:59 AM
  10. ONLYuseBB10's Avatar
    thanks! i'll give it a try
    01-02-2014 07:03 PM
  11. srkmagnus's Avatar
    Imprett sure the latest version of Whatsapp works with ART. Install or update the latest version and see if it works.

    Sent from my Nexus 5 using AC Forums mobile app
    Patrick Schroedl likes this.
    01-02-2014 10:04 PM
  12. ONLYuseBB10's Avatar
    I did a factory reset and was able to downoald and install whatsapp

    Posted via Android Central App
    01-03-2014 06:07 AM
  13. pauladev's Avatar
    Anyone got a less drastic solution than Factory reset or rooting the phone?
    01-13-2014 03:19 PM
  14. ONLYuseBB10's Avatar
    wait for the 4.4.1 update. it should be fixed then

    Posted via Android Central App
    01-20-2014 03:37 PM
  15. Patrick Schroedl's Avatar
    Just to make sure this info is clearly posted... as per the Whatsapp FAQ:

    Due to a bug in Android, WhatsApp could not be installed in Android RunTime (ART) on Android 4.4. The issue with ART has been fixed in the latest release of Android (4.4.1). Please update your OS to 4.4.1 to use WhatsApp with ART. If you are unable to update to 4.4.1, please use Dalvik instead of ART. This is an issue with the way that ART verifies apps, not with WhatsApp. WhatsApp will still function properly in Dalvik.

    If you attempted to re-install WhatsApp in ART, your /data/data/ directory may have a latent com.whatsapp folder left behind from the failed install that will prevent you from installing WhatsApp again. Android does not have any UI exposed to resolve this issue. Currently the only known way to remove this file is to either delete the file (only possible if your phone is rooted), or to reset your device to factory defaults.
    Emphasis mine. Here's the Google Code issue listing:

    Issue 61916: Invalid package error when installing WhatsApp with ART runtime enabled
    01-20-2014 03:56 PM
  16. beeare's Avatar
    This happened to me today after I switched to ART and then went back to Davlik because I wanted to use Whatsapp, which did not work with Kit-kat. When I tried to reinstall Whatsapp, I kept getting error message 24. I have not seen anybody mention this online and I have been looking all day.

    I decided to go to settings, apps, download manager and clear data.

    After this, I tried to download Whatsapp once again and it finally worked.
    01-25-2014 10:55 PM
  17. pauladev's Avatar
    I suspect that even with the latest Android version, the latest file issue still exists. Re the suggestion to 'clear data' above, once the App is uninstalled it doesn't show in Settings/apps/downloaded.
    Even a good file manager doesn't show the com.whatsapp file. I am not inclined to root or reset, so it is WeChat for me.
    05-27-2014 02:13 PM
  18. beeare's Avatar
    So, I tried switching to ART and, after rebooting, I started testing all my apps to see how well they run. When I got to Whatsapp, I was getting repeated crashes. I tried uninstalling and reinstalling, but I couldn't reinstall. When I looked it up on the internet, I found that the problem was not with the app itself, but with ART in 4.4 and that the issue had been addressed in the 4.4.1 update, which isn't available for the Moto X yet. So, I tried switching back to Dalvik, but now I still can't reinstall Whatsapp even in Dalvik runtime. Anyone know how to fix this?

    I get an error box when I try to install from the Play Store. "Unknown error code during application install: -24". I tried downloading the apk from the Whatsapp website and sideloading it, but my phone won't install that either.
    Did you try what I did; clearing data from your download manager?

    it worked for me...


    I suspect that even with the latest Android version, the latest file issue still exists. Re the suggestion to 'clear data' above, once the App is uninstalled it doesn't show in Settings/apps/downloaded.
    Even a good file manager doesn't show the com.whatsapp file. I am not inclined to root or reset, so it is WeChat for me.


    Sent from my XT1080 using AC Forums mobile app
    Attached Thumbnails Can't install Whatsapp on my Moto X after switching to ART-1401224274659.jpg  
    05-27-2014 03:58 PM
  19. troshs's Avatar
    ART doesn't seem to play nice with anything. I have a Galaxy S5 and when I switched over yesterday, everything I did on my phone pretty much puked and I had to switch back to Dalvik. Only stayed on ART maybe a half hour.

    Posted via Android Central App
    05-29-2014 11:44 AM

Similar Threads

  1. Nexus 4 won't connect to internet through wifi
    By daniql in forum Google Nexus 4
    Replies: 1
    Last Post: 07-09-2016, 07:24 AM
  2. Can't cast Netflix from Samsung Galaxy Tab2 7.0
    By timmyb74 in forum Google Chromecast
    Replies: 11
    Last Post: 12-21-2014, 05:14 AM
  3. Problems connecting to wifi, says wifi null?
    By hanly2 in forum General Help and How To
    Replies: 6
    Last Post: 07-07-2014, 12:15 AM
  4. Moto X - Can't Install Whatsapp after switching to ART
    By Ccota08 in forum Moto X (2013)
    Replies: 1
    Last Post: 01-07-2014, 09:48 AM
  5. Replies: 7
    Last Post: 12-31-2013, 07:45 PM
LINK TO POST COPIED TO CLIPBOARD