WEB开发网
开发学院手机开发Android 开发 Android 中命令行建立并编译一个 helloworld 的过... 阅读

Android 中命令行建立并编译一个 helloworld 的过程

 2010-02-24 04:42:00 来源:WEB开发网   
核心提示:D:Documentworkspace>android create project --target 2 --path ./myProject--activity MyActivity --package com.example.myprojectCreated project directory: D:Doc

D:Documentworkspace>android create project --target 2 --path ./

myProject

--activity MyActivity --package com.example.myproj

ect

Created project directory: D:DocumentworkspacemyProject

Created directory D:DocumentworkspacemyProjectsrccomexample

myproject

Added file

D:DocumentworkspacemyProjectsrccomexamplemyproject

MyActivity.java

Created directory D:DocumentworkspacemyProjectgencomexample

myproject

Created directory D:DocumentworkspacemyProjectes

Created directory D:DocumentworkspacemyProjectin

Created directory D:DocumentworkspacemyProjectlibs

Created directory D:DocumentworkspacemyProjectesvalues

Added file D:DocumentworkspacemyProjectesvaluesstrings.xml

Created directory D:DocumentworkspacemyProjecteslayout

Added file D:DocumentworkspacemyProjecteslayoutmain.xml

Added file D:DocumentworkspacemyProjectAndroidManifest.xml

Added file D:DocumentworkspacemyProjectuild.xml

Created directory D:DocumentworkspacemyProject ests

Created directory

D:DocumentworkspacemyProject estssrccomexamplemyproject

Added file

D:DocumentworkspacemyProject estssrccomexamplemyproject

MyActivityTest.java

Created directory

D:DocumentworkspacemyProject estsgencomexamplemyproject

Created directory D:DocumentworkspacemyProject estses

Created directory D:DocumentworkspacemyProject estsin

Created directory D:DocumentworkspacemyProject estslibs

Added file D:DocumentworkspacemyProject estsAndroidManifest.xml

Added file D:DocumentworkspacemyProject estsuild.xml

D:Documentworkspace>cd myProject

D:DocumentworkspacemyProject>ant debug

Buildfile: build.xml

1 2  下一页

Tags:Android 命令 建立

编辑录入:coldstar [复制链接] [打 印]
赞助商链接