use git diff to generate file list
git diff --name-only master
add ext filter
use git diff to generate file list
git diff --name-only master
add ext filter
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"
| version: 2 | |
| reference: | |
| ## Constants | |
| gradle_cache_path: &gradle_cache_path | |
| gradle_cache-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} | |
| workspace: &workspace | |
| ~/src | |
| ## Configurations | |
| android_config: &android_config | |
| working_directory: *workspace |
| #!/bin/bash -ex | |
| # NOTE: ANDROID_HOME must be configured as an environment variable. | |
| # Kill all the existing adb servers and start over a new adb server. | |
| function restart_adb_server() { | |
| echo "********************* Restarting adb ... *********************" | |
| adb kill-server | |
| sleep 2 | |
| adb start-server | |
| sleep 2 |
| Hi All! | |
| I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future. | |
| Feel free to request any features you'd like to see, and I'll prioritize them accordingly. | |
| One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it. | |
| Here's the link to the repository: https://github.com/Pulimet/ADBugger | |
| App Description: | |
| ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups. |
| > Thank you for reaching out to Autonomous! I am sorry to hear that you are having some trouble with your SmartDesk | |
| > but I will be glad to assist. It sounds like your system needs a "hard reset" can I please have you follow these | |
| > steps thoroughly. | |
| Reset Steps: | |
| 1. Unplug the desk for 20 seconds. Plug it back in. Wait a full 20 seconds. | |
| 2. Press the up and down buttons until the desk lowers all the way and beeps or 20 seconds pass. | |
| 3. Release both buttons. | |
| 4. Press the down buttons until the desk beeps one more time or 20 seconds pass. |
| This builds off the excellent work of @lmarkus. | |
| The scripts below can be used in conjunction with the Slack Emoji Tools Google Chrome extension to export emojis from | |
| one Slack team and import into another team. | |
| Original work here: https://gist.github.com/lmarkus/8722f56baf8c47045621 |
| #! /bin/bash | |
| # (@) start-android | |
| # If the emulator command exists on this device, displays a list of emulators | |
| # and prompts the user to start one | |
| # ref. http://stackoverflow.com/questions/7837952/what-is-the-command-to-list-the-available-avdnames | |
| # Check if the emulator command exists first | |
| if ! type emulator > /dev/null; then | |
| echo "emulator command not found" | |
| exit 1 |
| node { | |
| echo 'Results included as an inline comment exactly how they are returned as of Jenkins 2.121, with $BUILD_NUMBER = 1' | |
| echo 'No quotes, pipeline command in single quotes' | |
| sh 'echo $BUILD_NUMBER' // 1 | |
| echo 'Double quotes are silently dropped' | |
| sh 'echo "$BUILD_NUMBER"' // 1 | |
| echo 'Even escaped with a single backslash they are dropped' | |
| sh 'echo \"$BUILD_NUMBER\"' // 1 | |
| echo 'Using two backslashes, the quotes are preserved' | |
| sh 'echo \\"$BUILD_NUMBER\\"' // "1" |