Importing the project into android studio
Closed this issue · 5 comments
i have downloaded the code from github, it has sample, data, client library . i am bit confused which part to import in my android studio. i tried importing sample part but it was throwing lot of errors while building the project. Please suggest me how to import it properly so that i can be able to run the code properly to see the FACE API demo.
Thanks in advance,
Krishna P
You wouldn't want to import the client library as you should be referencing that as a dependency, either by directly adding it to the build path or using Maven/Gradle to resolve it for you. To import the sample select the "import from Gradle" option and set the root directory to the "Sample" folder.
Also I'm not sure why you have created two issues about the same thing?
thanks for replying, following are the problems i am facing
- as u said, their is no import from gradle option in my android studioo
- as u said, i am just trying to import the sample folder.
- after importing the project, this is what the error im getting
- also after importing the project, the project structure does not seem to be correct.
Please answer these questions to get me started. i am working on this for the first time, so please bare with my little knowledge on these things.
and also i apologise for creating two issues for the same problem
Thank you so much
Krishna
Can you try importing the project by selecting the "settings.gradle" file as shown in following image.
However its worth noting that I have no problems importing the project just by using the base folder, can you confirm that your installation of android studio is complete and you have the latest version?
or you can try this(it worked for me):
Go to file->New->Import Project
then select sample folder of the repository.
Close as the the thread is too old. If you encounter similar problem, please open a new one as the code might changed a lot.