- Download Command line tools only.
- Configure your
ANDROID_SDK_ROOTdirectory, create insidecmdline-toolsand decompress zip downloaded above. - Set Environment Variable
ANDROID_SDK_ROOTand added toPATHbin tools$ANDROID_SDK_ROOT/cmdline-tools/tools/bin. - Install packages for Android API 23 (MARSHMELLOW (6.0), etc)
sdkmanager "system-images;android-23;google_apis;x86" "platforms;android-23" - Install emulator and tools:
sdkmanager "emulator" "platform-tools" - Add tools to
PATH:$ANDROID_SDK_ROOT/emulator,$ANDROID_SDK_ROOT/platform-tools - Create emulator device:
avdmanager --verbose create avd --force --name "pixel_6.0" --device "pixel" --package "system-images;android-23;google_apis;x86" --tag "google_apis" --abi "x86" - Start emulator:
emulator @pixel_6.0
For an emulator that mimics a Pixel 5 Device with Google APIs and ARM architecture (for an M1/M2 Macbook):
-
List All System Images Available for Download:
sdkmanager --list | grep system-images -
Download Image:
sdkmanager --install "system-images;android-30;google_atd;arm64-v8a"
Simple module that makes gears with circular-shaped teeth. The gears maintain their shape even for extremely low teeth numbers up to 2. Parameters:
teeth: number of teeth.step: width of one teeth (diameter of the circle).
Two gears produced with the same step will transfer movement, so one
typically fixes a step for all the gears and varies teeth for each gear,
which decides the radius and transfer ratio. Example: