Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 19 of 19
Like Tree1Likes
  • 1 Post By srkmagnus
  1. Thread Author  Thread Author    #1  

    Default Can't install Whatsapp on my Moto X after switching to ART

    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.
  2. #2  
    yfan's Avatar

    Posts
    908 Posts
    Global Posts
    911 Global Posts

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    This is a known issue. Whatsapp doesn't play nice with ART. You have to go back to Dalvik, reinstall whatsapp, then reactivate ART.
  3. Thread Author  Thread Author    #3  

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    I already switched back to Dalvik and it's not letting me install Whatsapp again.
  4. Thread Author  Thread Author    #4  

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    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.
  5. #5  

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    can you tell me what you deinstalled?? cause i have the same issue..
  6. #6  
    Kevin O'Quinn's Avatar
    AC Team Emeritus

    Posts
    8,950 Posts
    Global Posts
    9,153 Global Posts
    ROM
    Stock

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    Quote Originally Posted by Ccota08 View Post
    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.
    Quote Originally Posted by yfan View Post
    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.
    Kevin F.I.M.T.K. O'Quinn Esq.
  7. Thread Author  Thread Author    #7  

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    Quote Originally Posted by ONLYuseBB10 View Post
    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.
  8. #8  

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    Quote Originally Posted by Ccota08 View Post
    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 :/
  9. Thread Author  Thread Author    #9  

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    Quote Originally Posted by ONLYuseBB10 View Post
    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:
    Quote Originally Posted by hdeen View Post
    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.
  10. #10  

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    thanks! i'll give it a try
  11. #11  
    srkmagnus's Avatar

    Posts
    8,715 Posts
    Global Posts
    8,718 Global Posts
    ROM
    Stock 4.4 (KitKat)

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    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
  12. #12  

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    I did a factory reset and was able to downoald and install whatsapp

    Posted via Android Central App
  13. #13  

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    Anyone got a less drastic solution than Factory reset or rooting the phone?
  14. #14  

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    wait for the 4.4.1 update. it should be fixed then

    Posted via Android Central App
  15. #15  

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    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
  16. #16  

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    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.
  17. #17  

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    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.
  18. #18  

    Default Re: Can't install Whatsapp on my Moto X after switching to ART

    Quote Originally Posted by Ccota08 View Post
    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...


    Quote Originally Posted by pauladev View Post
    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 Attached Thumbnails Can't install Whatsapp on my Moto X after switching to ART-1401224274659.jpg  
  19. #19  
    troshs's Avatar

    Posts
    428 Posts
    Global Posts
    721 Global Posts

    Default

    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
    ~~ You have a cough? Go home tonight, eat a whole box of Ex-Lax, tomorrow you'll be afraid to cough.

Similar Threads

  1. Problems connecting to wifi, says wifi null?
    By hanly2 in forum General Help and How To
    Replies: 6
    Last Post: 07-07-2014, 01:15 AM
  2. Can't cast Netflix from Samsung Galaxy Tab2 7.0
    By timmyb74 in forum Google Chromecast
    Replies: 10
    Last Post: 06-18-2014, 12:27 PM
  3. Moto X - Can't Install Whatsapp after switching to ART
    By Ccota08 in forum Moto X (2013)
    Replies: 1
    Last Post: 01-07-2014, 10:48 AM
  4. Replies: 7
    Last Post: 12-31-2013, 08:45 PM
  5. Nexus 4 won't connect to internet through wifi
    By daniql in forum Google Nexus 4
    Replies: 0
    Last Post: 12-31-2013, 01:45 PM

Posting Permissions