Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add custom library in android studio java?

I have downloaded a source of library but I really need to make it custom and change it in my own way, so I should import it as a module to my project manually.

like image 967
Golrokh Najafizade Avatar asked Mar 02 '26 03:03

Golrokh Najafizade


1 Answers

Follow these steps:
1. Create a folder.
2. Drag or copy your library folder in created library in android studio.
3. Add the module to the settings.gradle like this:
include ':LibraryFolder:LibFolder'.
4. So sync it and clean project.
5. Go to project structure in Android Studio.
6. Add library.
7. Clean and run.

Be successful.

like image 114
reza_khalafi Avatar answered Mar 03 '26 16:03

reza_khalafi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!