开发者

problem while creating android project with command line

开发者 https://www.devze.com 2023-02-26 03:10 出处:网络
android create project \\ --package com.exa开发者_StackOverflow中文版mple.helloandroid \\ --activity HelloAndroid \\
android create project \
    --package com.exa开发者_StackOverflow中文版mple.helloandroid \
    --activity HelloAndroid \ 
    --target 2 \
    --path <path-to-your-project>/HelloAndroid 

Hi

I came across this in the developers site for android.Can you plz tell me what does target 2 mean in the above commands.

I want to specify different targets but not able to find the codes mapped with tagets

Thnx in adv.


It's API level (1.5, 2.1, 2.3...) Do android list targets to see the IDs, they depend on what API SDKs you have installed, they're not global identifiers. Edit: I think you can also use android-2, android-5... which are global.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号