In my android studio project want to use existing java project code
I tried this way:
Click File > New Module. Select Java Library and click Next.>
Easiest way to do this is to choose the 'open an existing project' option, find your project, and then find the 'app' folder. Click on this to highlight it and then click 'Ok'. This will then import your complete project