So I recently started an android project on android studio and I wanted to use something from github in my project. I watched countless videos but still do not understand. So this is the loading animation I want to use: https://github.com/ybq/Android-SpinKit . In the tutorial, the person is simply copy pasting the Gradle dependency and this : maven{ url" https://jitpack.io "} in the build.gradle scripts. When I further proceed in my XML file, it is not recognizing when I type out Spinkit, whereas in the video it is. When I go to the class to type in the progress bar code, it is giving me errors that it can't recognize the word ProgressBar. I am very lost so any guidance can help? Thanks for being patient:)
build.gradle here is where I am typing the maven code thing
build.gradle, here is where I am typing the implementation code copy pasted from github
this is the XML file where I believe is the issue: the line starting with
here is the java class where I am getting the errors
I understand that I am a very inexperienced developer but I just need a little guidance on this issue
You should sync your project so it can recognize your changes in gradle. Just above your code it's showing you a message asking you to sync project first.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.