读书人

android 下令

发布时间: 2012-10-09 10:21:45 作者: rapoo

android 命令

1.创建工程

命令:android create project -n -t -p -k -a

参数: -n --name : Project name.
-t --target : Target ID of the new project. [required]
-p --path : The new project's directory. [required]
-k --package : Android package name for the application. [required]
-a --activity: Name of the default Activity that is created. [required]

2.更新工程

命令:android update project -l -p -n -t -s

参数: -l --library : Directory of an Android library to add, relative to this
project's directory.
-p --path : The project's directory. [required]
-n --name : Project name.
-t --target : Target ID to set for the project.
-s --subprojects: Also updates any projects in sub-folders, such as test
projects.

读书人网 >Android

热点推荐