简体   繁体   中英

Create android project using command line with jars in Libs folder

When i went through the Android documentation, it says that the following Command would create an android project.

android create project
--target <target_ID>
--name <your_project_name>
--path path/to/your/project
--activity <your_activity_name>
--package <your_package_namespace>

This works perfect. But i couldn't find android support jar in Libs folder. When i create the same project using eclipse, by default the android support jar is added to Libs folder. But I want to include the JARs in the command so that they can be added to Libs folder at once. Is there any command like that where i can add the list of JARs as arguments in the Command and while creating project the JARs would be added to Libs folder? Or is this possible using any of the eclipse Command line tool of creating a java project with JARs added to dist folder or any such kind?

No, it's not possible with standard Android command tools. You will have to copy them manually from android SDK.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM