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.
Filled the required fields and clicked Finish.
A new empty Java project library was created in my Android project.
I need to use existing(java project) code to my android studio project, how can I do that?
You can import a java project if it is a Gradle build project. Otherwise android studio not allow to import other java projects.
File >> New >> Import Project and select the Gradle build java project
Thanks
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With