Try an android library on your smartphone directly from the command line
A dry run (or a practice run) is a testing process where the effects of a possible failure are intentionally mitigated. For example, an aerospace company may conduct a "dry run" test of a jet's new pilot ejection seat while the jet is parked on the ground, rather than while it is in flight.
- Find the github url (lets say
https://github.com/cesarferreira/android-helloworld
) - Click the
download zip
- Extract the
zip file
- Open Android Studio
- Import the project you just downloaded
- Sync gradle
- Run the project
- Choose the device you want to run
- Test all you want
- Delete the
project folder
and thezip file
when you don't want it anymore
... or you can use dryrun
:
dryrun https://github.com/cesarferreira/android-helloworld
Wait a few seconds... and voilà
! The app is installed and opened on your phone 😃
$ gem install dryrun
Requirements (if you haven't already)
:
$ANDROID_HOME defined on the environment variables how-to
hint: in your ~/.bashrc
add export ANDROID_HOME="/Users/cesarferreira/Library/Android/sdk/"
Android SDK defined on the environment variables how-to
hint: in your ~/.bashrc
add export PATH="/Users/cesarferreira/.rvm/bin:/Users/cesarferreira/Library/Android/sdk/platform-tools/:$PATH"
Bug reports and pull requests are welcome on GitHub at https://github.com/cesarferreira/dryrun.