问题
how can I add a custom library project (in my example the CuXtomCam library) to an existing android project using Android Studio 1.1?
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!
回答1:
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.
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.
回答2:
Just right click on the project then New>Module. from the new window select Import existing project. Give the directory. I think this will help
来源:https://stackoverflow.com/questions/30011217/how-to-add-library-project-to-an-existing-android-project-in-androidstudio