如何库项目添加到AndroidStudio现有的Android项目 [英] How to add library project to an existing android project in AndroidStudio
问题描述
我怎么可以添加自定义库项目(在我的例子 CuXtomCam <采用了Android 1.1工作室/ A>库)到现有的Android项目?
how can I add a custom library project (in my example the CuXtomCam library) to an existing android project using Android Studio 1.1?
我读过有关更改的build.gradle文件。但我应该在哪里将库ressources?
I've read about changing the build.gradle file. But where should I place the library ressources?
感谢您提前为所有的答案和注释!
Thank you in advance for all answers and comments!
推荐答案
要导入库到Android的工作室:
To import library into Android Studio:
-
选择文件>导入,然后选择包含项目导入目录。
select File > Import, and then select the directory containing the project to import.
一个向导将打开,引导您完成导入过程的其余部分。
a wizard will open and guide you through the rest of the import process.
在项目导入完成后,它会打开一个名为进口的summary.txt文件,该文件列出了所有的进口和建议,为接下来的步骤中所采取的步骤。例如,它可能会注意到,未迁移的文件,它可以注意到在SDK安装缺失的组件,等等。
When the project import has finished, it will open up a file called "import-summary.txt" which lists all the steps taken during import and suggestions for next steps. For example, it may note files that were not migrated, it may note missing components in your SDK install, and so on.
这篇关于如何库项目添加到AndroidStudio现有的Android项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!