yaboo@maniac:~/Projects/Android$ android list targets Available Android targets: id: 1 or "android-3" Name: Android 1.5 Type: Platform API level: 3 Revision: 4 Skins: QVGA-P, HVGA-L, QVGA-L, HVGA-P, HVGA (default) id: 2 or "android-4" Name: Android 1.6 Type: Platform API level: 4 Revision: 3 Skins: WVGA800 (default), WVGA854, QVGA, HVGA id: 3 or "android-7" Name: Android 2.1-update1 Type: Platform API level: 7 Revision: 2 Skins: WQVGA400, WVGA800 (default), WVGA854, QVGA, WQVGA432, HVGA id: 4 or "android-8" Name: Android 2.2 Type: Platform API level: 8 Revision: 2 Skins: WQVGA400, WVGA800 (default), WVGA854, QVGA, WQVGA432, HVGA id: 5 or "android-9" Name: Android 2.3.1 Type: Platform API level: 9 Revision: 2 Skins: WQVGA400, WVGA800 (default), WVGA854, QVGA, WQVGA432, HVGA id: 6 or "android-10" Name: Android 2.3.3 Type: Platform API level: 10 Revision: 1 Skins: WQVGA400, WVGA800 (default), WVGA854, QVGA, WQVGA432, HVGA id: 7 or "android-11" Name: Android 3.0 Type: Platform API level: 11 Revision: 1 Skins: WXGA (default) id: 8 or "android-12" Name: Android 3.1 Type: Platform API level: 12 Revision: 2 Skins: WXGA (default) id: 9 or "android-13" Name: Android 3.2 Type: Platform API level: 13 Revision: 1 Skins: WXGA (default)
now, create android project using 'android' command
yaboo@maniac:~/Projects/Android$ android create project --target 6 --path ./myProject --activity MyActivity --package com.yablog.myproject Created project directory: ./myProject Created directory /home/yaboo/Projects/Android/myProject/src/com/yablog/myproject Added file ./myProject/src/com/yablog/myproject/MyActivity.java Created directory /home/yaboo/Projects/Android/myProject/res Created directory /home/yaboo/Projects/Android/myProject/bin Created directory /home/yaboo/Projects/Android/myProject/libs Created directory /home/yaboo/Projects/Android/myProject/res/values Added file ./myProject/res/values/strings.xml Created directory /home/yaboo/Projects/Android/myProject/res/layout Added file ./myProject/res/layout/main.xml Created directory /home/yaboo/Projects/Android/myProject/res/drawable-hdpi Created directory /home/yaboo/Projects/Android/myProject/res/drawable-mdpi Created directory /home/yaboo/Projects/Android/myProject/res/drawable-ldpi Added file ./myProject/AndroidManifest.xml Added file ./myProject/build.xml Added file ./myProject/proguard.cfg
No comments:
Post a Comment