A simple tool to quickly reboot your Android emulator with Cold Boot option (without restoring emulator's state snapshot).
$ cold-reboot
that's it.
(For now, if there's more than one emulator running, it will reboot all of them...)
- Make sure you've got
python(at least 2.7) - Add
<your_path_to_android_sdk>/toolsto yourPATHenv variable - Add
<your_path_to_android_sdk>/platform-toolsto yourPATHenv variable - Add
<your_path_to_android_sdk>/emulatorto yourPATHenv variable - Choose option A. or B.
brew tap blipinsk/cold-rebootbrew install cold-reboot
- Copy the
cold-rebootscript to a destination of your choice - Add
path/to/the/script(chosen in step 1.) to yourPATHenv variable
I am no python developer, I just glued together this script from what I could find in Google. Feel free to contribute optimising this script as much as you want.
- Bartek Lipiński
Copyright 2019 Bartosz Lipiński
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
