Skip to content

Instantly share code, notes, and snippets.

@mugifly
Last active December 8, 2022 22:40
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mugifly/71fe92b769412ef2739a14d28c37043f to your computer and use it in GitHub Desktop.
Save mugifly/71fe92b769412ef2739a14d28c37043f to your computer and use it in GitHub Desktop.
Disable the animation of Android Virtual Device using adb command
# For Android JellyBean and newer device
adb shell content update --uri content://settings/system --bind value:s:0.0 --where 'name="window_animation_scale"'
adb shell content update --uri content://settings/system --bind value:s:0.0 --where 'name="transition_animation_scale"'
adb shell content update --uri content://settings/system --bind value:s:0.0 --where 'name="animator_duration_scale"'
# For Android ICS and older device
adb shell "echo \"update system set value=0.0 where name='window_animation_scale';\" | sqlite3 /data/data/com.android.providers.settings/databases/settings.db"
adb shell "echo \"update system set value=0.0 where name='transition_animation_scale';\" | sqlite3 /data/data/com.android.providers.settings/databases/settings.db"
@netimen
Copy link

netimen commented Dec 14, 2017

I see the same thing

@lifuzu
Copy link

lifuzu commented Jan 13, 2018

Same here

@omritoptix
Copy link

You can run this commands instead:

adb shell settings put global window_animation_scale 0.0

adb shell settings put global transition_animation_scale 0.0
adb shell settings put global animator_duration_scale 0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment