What's a binary/script called "android"?

67 Views Asked by At

In the build script of Samsung's Gear VR framework there's a line:

android update lib-project -p .

What's this "android" and where to get it? Obviously this is a bit hard to google :)

3

There are 3 best solutions below

0
On BEST ANSWER

This tool can be found in the SDK. Take a look at this:

http://developer.android.com/tools/projects/projects-cmdline.html

0
On

You can find the android binary in $ANDROID_HOME/tools, $ANDROID_HOME is the path to the directory of your android sdk, you can either add it to the $PATH environment variable, or you can just cd to $ANDROID_HOME/tools then invoke ./android with required arguments

0
On

This is the android sdk tool.

It ships with android sdk and is located at <sdk directory>/tools/.

It supports library project update commands:

> android --help
> - create lib-project  : Creates a new Android library project.
> - update lib-project  : Updates an Android library project (must already have an AndroidManifest.xml).