Are you using Xposed Framework? It is not compatible with ART. You must uninstall Xposed if you want to switch to ART.I am using Nexus 5 with stock rooted ROM and with Code Blue Kernel. I want to switch to ART. I go to developer option and select Use ART.
My phone reboots and it is still in dalvik. Is there anything special I need to do here?
What is the requirement to go in ART?
It should not be needed but it also depends of what ROM you are using.i need to switch dalvik to update whatsapp then change back ART only work?
please help? y other able to update whatsapp at playstore using ART but i still face the package is invalid!
It should not be needed but it also depends of what ROM you are using.
I recommend to you do a backup of your messages, uninstall WhatsApp Messenger, and then go to whatsapp.com/android and then click on download now and install the apk that will be downloaded.
Same issue here with the latst two updates. I can install it with Dalvik, if on ART i get "Package file is invalid".i need to switch dalvik to update whatsapp then change back ART only work?
please help? y other able to update whatsapp at playstore using ART but i still face the package is invalid!
Same issue here with the latst two updates. I can install it with Dalvik, if on ART i get "Package file is invalid".
download http://www.tusfiles.net/alktilvw6v45 v2.11.360 apk
rename the apk u downloaded to com.whatsapp.apk into /data/app after reboot few sec optimizing, done
depend ur /data/app name of whatspp it might be com.whatsapp.apk but mine is com.whatsapp-1.apk & other com.whatsapp-2.apk
Switch to dalvik, install the update (it should go fine) from the playstore, then switch to ART again, open whatsapp, reboot if it crashes, done
Switch to dalvik, install the update (it should go fine) from the playstore, then switch to ART again, open whatsapp, reboot if it crashes, done
Switch to dalvik, install the update (it should go fine) from the playstore, then switch to ART again, open whatsapp, reboot if it crashes, done
Good News! I have managed to install and test all the functions of whatsapp successfully on I9100 Cyanogenmod 11m8 running ART runtime.
Steps:
1) Choosing Art runtime in the development options.
2) reboot should follows and optimizing apps.
3) install whatsapp from google playstore
Now this is the tricky part. No matter how many times you try to install whatsapp with Art runtime enabled, It will never successfully install and comes up with an error notification.
The Solution: when whatsapp is downloaded and proceeding into the installation process, wait for least estimated of 45-90 seconds and then pressing the power button, reboot the device. Upon booting up you will see 1 app is currently optimizing and thereafter Wala~ you get your fully functional whatsapp on your device running.
(The idea of allowing 45-90 seconds is to allow the estimated time for whatsapp to complete the installation. Pls note that for the above installation it takes that much longer to install than the usual installation of other apps. As long as you reboot before the error notification and sufficient time for the app to install estimated)
Try the above trick and let me know of what you think. I stumbled upon it by frustration with the installation and decided to force phone into reboot by holding the power button and reboot. LOL!
There's a piece of news for all of you ART converters who are waiting for a Whatsapp update (WA currently crashes on ART runtime).
I've sent an email to WA support team to ask when a future update will be available which will solve the fc when running ART.
Here's the reply from the support team:
"Hi,
Thanks for your message. Currently, ART does not support WhatsApp. Since ART is still in beta stage, WhatsApp will continue to run in Dalvik until Android has been fully converted to ART. A bug has been reported to Google regarding this issue. We apologize for any inconvenience this may have caused.
If you have any other questions or concerns, please feel free to contact us. We would be happy to help!".
So, take your own conclusions. Mine is that we will not see any update of any app currently having issues with ART until Android will take it out of the beta stage and will make it the default compiler (Android 5?).
adb root
adb remount
adb shell "rm -rf /data/data/com.whatsapp"
adb pull /system/lib/libart.so libart.so.bak
adb push libart.so /system/lib/
adb shell "mount /system"
adb push libart.so.bak /system/lib/libart.so