mkdir TestDemo cd TestDemo
android create project --name TestDemo --target android-7 --path . --package com.testDemo --activity MainActivity
androidesk@androidesk-To-be-filled-by-O-E-M:/var/opt/gitspace/TestDemo$ ls -l -rw-rw-r-- 1 androidesk androidesk 605 8月 29 10:46 AndroidManifest.xml -rw-rw-r-- 1 androidesk androidesk 698 8月 29 10:46 ant.properties drwxrwxr-x 2 androidesk androidesk 4096 8月 29 10:46 bin -rw-rw-r-- 1 androidesk androidesk 3920 8月 29 10:46 build.xml drwxrwxr-x 2 androidesk androidesk 4096 8月 29 10:46 libs -rw-rw-r-- 1 androidesk androidesk 415 8月 29 10:46 local.properties -rw-rw-r-- 1 androidesk androidesk 781 8月 29 10:46 proguard-project.txt -rw-rw-r-- 1 androidesk androidesk 562 8月 29 10:46 project.properties drwxrwxr-x 4 androidesk androidesk 4096 8月 29 10:46 res drwxrwxr-x 3 androidesk androidesk 4096 8月 29 10:46 src
android update project --name TestDemo --target android-7 --path .
ant release
androidesk@androidesk-To-be-filled-by-O-E-M:/var/opt/gitspace/TestDemo$ ls bin/ AndroidManifest.xml build.prop classes.dex jarlist.cache res TestDemo.ap_.d TestDemo-release-unsigned.apk.d AndroidManifest.xml.d classes classes.dex.d proguard.txt TestDemo.ap_ TestDemo-release-unsigned.apk