Importing the library into the ftc-app is extremely simple!
Unfortunately right now importing Evlib is not very simple, since the library has been migrated and releases aren't up to date. We're working on it though!
-
Download the latest release
EVLib-release.aar
. You can also clickhere. -
Copy the downloaded library to the
(your project root)/libs/
directory. -
Now you need to tell gradle that EVLib is a dependency. In android studio, edit the
TeamCode/build.gradle
file and add the following lines:
dependencies {
implementation files('EVlib-release.aar')
}
Attaching the source (Optional, out of date):
-
Download the repository as a zip fileand extract it. -
When a yellow bar appears at the top of the screen:
- Click on the blue link that says "Choose Sources..." and a window will pop up.
- Choose the "EVLib-master/EVLib/src/main/java directory" from the file you downloaded.
You are done! You can look at the next chapter to get you started on using the library.