Giter VIP home page Giter VIP logo

devdroid's Introduction

WHAT IS THIS?
#############

This is a first attempt to create a framework that helps deploy and debug an
android system and apps in multiple android devices.

It also has the flexibility of working with external projects that are not
included/integrated in the AOSP.

It was born as a set of scripts that help build and flash the Android
images on the phones, but it's moving to something more serious and useful.
Therefore it is still under heavy development.

DESCRIPTION
###########

+ config/ : set of configuration files that this framewrok uses
+ dev_apps/ : group of usefull apps that help development & debugging
+ scripts/ : set of scripts that help with some tedious tasks like flashing, etc.
+ tools/ : set of scripts used for very common operations.

HOW TO INSTALL IT
#################

In order to use this framework, you need to follow these three steps:

0 - Edit and customize the config files available in the config/ folder.
1 - Add the "DEVDROID=path_to_this_project" variable to your bashrc.
3 - Add ${DEVDROID}/tools to your path.


QUICK START
###########

Most useful commands: ant-dev, builstall, adbs and logcat-p

+ adbs: *super* adb. Allows you to execute an adb command against multiple devices
      secuentially. To target devices, it uses friendly names as CB01, CB02, etc.
      instead of those nasty serial numbers that nobody memorizes. Also, you won't
      have to care if the phone is connected via USB, TCPIP, etc.

      ie: "$ adbs -s CB01,CB02,CB03 remount"  or "$ adbs -s all remount"

+ ant-dev: allows you to build an Android project from cmd line, but adding extra
      info about your dev environment to the versionName attribute within the
      AndroidManifest. This way, you will always know what version of the you are
      testing.

      ie: "$ ant-dev debug"

      NOTE: it requires that the project has a git repository or it will fail.

+ builstall: builds and installs! As simple as it sounds..but extremly usefull.
      It will handle those cases where ceritificates are inconsistant and everything.
      It supports other features like: specify a build type (-t) or launch the app (-r).

      ie:
         "$ builstall -s CB01,CB02 -r" -->  it will build, install and launch the project.
         "$ builstall -s all -i" --> skips building, just installs.

+ logcat-p: prints a colored logcat output of specific app/process.

      ie: "$ logcat-p -s CB01 -p com.cozybit.myapp"

      Also, if the AndroidManifest.xml is available in the current folder, -p parameter
      is not necessary.

devdroid's People

Contributors

guillermonunez avatar jlopex avatar minshallj avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

devdroid's Issues

adbs occasionally fails

$ adbs -s XZ1 logcat -C
(standard_in) 1: illegal character: J
(standard_in) 1: illegal character: X
(standard_in) 1: illegal character: J
(standard_in) 1: illegal character: X
ping: unknown host 11...18
[STDERR] [XZ1/BX903J8X12] WARNING: device not connected to adb (via USB or TCP). Skipping device.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.